Print help if no arguments given
This commit is contained in:
1 parent
8d4f5093cf
commit
7d70ba7fb8
1 file changed
+1
-1
@@ -74,7 +74,7 @@ class Command(str, Enum):
|
||||
|
||||
|
||||
def main():
|
||||
command = sys.argv.pop(1)
|
||||
command = sys.argv.pop(1) if len(sys.argv) > 0 else Command.HELP
|
||||
if command == Command.API:
|
||||
run_api()
|
||||
elif command == Command.CHAT:
|
||||
|
||||
Reference in new issue
Block a user