llama-stack-mirror/llama_stack/cli/stack
Charlie Doern 5f88ff0b6a
fix: show proper help text (#1065)
# What does this PR do?
when executing a sub-command like `llama model` the improper help text,
sub-commands, and flags are displayed. each command group needs to have
`.set_defaults` to display this info properly

before: 

```
llama model
usage: llama [-h] {model,stack,download,verify-download} ...

Welcome to the Llama CLI

options:
  -h, --help            show this help message and exit

subcommands:
  {model,stack,download,verify-download}
```

after:

```
llama model
usage: llama model [-h] {download,list,prompt-format,describe,verify-download} ...

Work with llama models

options:
  -h, --help            show this help message and exit

model_subcommands:
  {download,list,prompt-format,describe,verify-download}
```

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2025-02-12 06:38:25 -08:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
_build.py chore: remove unused argument (#987) 2025-02-06 10:05:35 -08:00
build.py chore: remove unused argument (#987) 2025-02-06 10:05:35 -08:00
configure.py More generic image type for OCI-compliant container technologies (#802) 2025-01-17 16:37:42 -08:00
list_apis.py API Updates (#73) 2024-09-17 19:51:35 -07:00
list_providers.py fix: filter out remote::sample providers when listing (#1057) 2025-02-11 16:12:46 -08:00
run.py feat: Add HTTPS serving option (#1000) 2025-02-07 09:39:08 -08:00
stack.py fix: show proper help text (#1065) 2025-02-12 06:38:25 -08:00