feat: add llama stack rm and llama stack list commands

This commit is contained in:
Abhishek koserwal 2025-05-09 15:23:03 +05:30
parent 473a07f624
commit d8712c4242
3 changed files with 192 additions and 1 deletions

View file

@ -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)