add cli for trainer
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
from cmd_server import CmdServer, HandshakePayload, PixelKind
|
||||
from while_stopper import INSTANCE as STOPPER
|
||||
import cli
|
||||
import logging
|
||||
|
||||
|
||||
def receive_data() -> None:
|
||||
logging.info("Data received")
|
||||
|
||||
|
||||
def main():
|
||||
server = CmdServer()
|
||||
# parse argument
|
||||
opts = cli.parse()
|
||||
|
||||
server = CmdServer()
|
||||
print("Please launch BasaltPresenter now.")
|
||||
print("Then press Enter to continue...")
|
||||
input()
|
||||
|
||||
Reference in New Issue
Block a user