mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-16 08:12:37 +00:00
feat: llama stack list-deps
`llama stack show` prints all required pip dependencies for a distro. use --format to get different types of output (json, plain, deps-only). Users can pipe this output to the installation method of their choice: uv, pip install, etc Signed-off-by: Charlie Doern <cdoern@redhat.com>
This commit is contained in:
parent
05a62a6ffb
commit
cb6aeeff8f
7 changed files with 350 additions and 6 deletions
|
|
@ -13,6 +13,7 @@ from llama_stack.cli.subcommand import Subcommand
|
|||
|
||||
from .build import StackBuild
|
||||
from .list_apis import StackListApis
|
||||
from .list_deps import StackListDeps
|
||||
from .list_providers import StackListProviders
|
||||
from .remove import StackRemove
|
||||
from .run import StackRun
|
||||
|
|
@ -39,6 +40,7 @@ class StackParser(Subcommand):
|
|||
subparsers = self.parser.add_subparsers(title="stack_subcommands")
|
||||
|
||||
# Add sub-commands
|
||||
StackListDeps.create(subparsers)
|
||||
StackBuild.create(subparsers)
|
||||
StackListApis.create(subparsers)
|
||||
StackListProviders.create(subparsers)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue