mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-28 03:01:59 +00:00
feat: add llama stack rm and llama stack list commands
This commit is contained in:
parent
473a07f624
commit
d8712c4242
3 changed files with 192 additions and 1 deletions
|
|
@ -7,6 +7,7 @@
|
|||
import argparse
|
||||
from importlib.metadata import version
|
||||
|
||||
from llama_stack.cli.stack.list_stacks import StackListBuilds
|
||||
from llama_stack.cli.stack.utils import print_subcommand_description
|
||||
from llama_stack.cli.subcommand import Subcommand
|
||||
|
||||
|
|
@ -14,6 +15,7 @@ from .build import StackBuild
|
|||
from .list_apis import StackListApis
|
||||
from .list_providers import StackListProviders
|
||||
from .run import StackRun
|
||||
from .remove import StackRemove
|
||||
|
||||
|
||||
class StackParser(Subcommand):
|
||||
|
|
@ -41,5 +43,6 @@ class StackParser(Subcommand):
|
|||
StackListApis.create(subparsers)
|
||||
StackListProviders.create(subparsers)
|
||||
StackRun.create(subparsers)
|
||||
|
||||
StackRemove.create(subparsers)
|
||||
StackListBuilds.create(subparsers)
|
||||
print_subcommand_description(self.parser, subparsers)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue