update commands
- change list to models - remove generate from cli in favour of run
This commit is contained in:
parent
e0ccc0c1b7
commit
36168300d9
1 changed files with 1 additions and 6 deletions
|
@ -17,14 +17,9 @@ def main():
|
|||
|
||||
server.set_parser(subparsers.add_parser("serve"))
|
||||
|
||||
list_parser = subparsers.add_parser("list")
|
||||
list_parser = subparsers.add_parser("models")
|
||||
list_parser.set_defaults(fn=list_models)
|
||||
|
||||
generate_parser = subparsers.add_parser("generate")
|
||||
generate_parser.add_argument("model")
|
||||
generate_parser.add_argument("prompt", nargs="?")
|
||||
generate_parser.set_defaults(fn=generate)
|
||||
|
||||
pull_parser = subparsers.add_parser("pull")
|
||||
pull_parser.add_argument("model")
|
||||
pull_parser.set_defaults(fn=pull)
|
||||
|
|
Loading…
Reference in a new issue