Make it possible to specify the AI in config command.

This commit is contained in:
Oleksandr Kozachuk
2023-09-12 16:37:50 +02:00
parent 544bf0bf06
commit 1ec3d6fcda
3 changed files with 11 additions and 5 deletions
+1
View File
@@ -100,6 +100,7 @@ def create_parser() -> argparse.ArgumentParser:
help="Manage configuration",
aliases=['c'])
config_cmd_parser.set_defaults(func=config_cmd)
config_cmd_parser.add_argument('-A', '--AI', help='AI ID to use')
config_group = config_cmd_parser.add_mutually_exclusive_group(required=True)
config_group.add_argument('-l', '--list-models', help="List all available models",
action='store_true')