Print help if no arguments given

This commit is contained in:
Erich Schubert 2024-06-21 09:14:21 +02:00 committed by GitHub
parent 8d4f5093cf
commit 7d70ba7fb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class Command(str, Enum):
def main(): def main():
command = sys.argv.pop(1) command = sys.argv.pop(1) if len(sys.argv) > 0 else Command.HELP
if command == Command.API: if command == Command.API:
run_api() run_api()
elif command == Command.CHAT: elif command == Command.CHAT: