llama-stack/llama_stack/cli/stack
Charlie Doern 34e3faa4e8
feat: add --run to llama stack build (#1156)
# What does this PR do?

--run runs the stack that was just build using the same arguments during
the build process (image-name, type, etc)

This simplifies the workflow a lot and makes the UX better for most
local users trying to get started rather than having to match the flags
of the two commands (build and then run)

Also, moved `ImageType` to distribution.utils since there were circular
import errors with its old location

## Test Plan

tested locally using the following command: 

`llama stack build --run --template ollama --image-type venv`

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2025-02-23 22:06:09 -05:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
_build.py feat: add --run to llama stack build (#1156) 2025-02-23 22:06:09 -05:00
build.py feat: add --run to llama stack build (#1156) 2025-02-23 22:06:09 -05:00
list_apis.py API Updates (#73) 2024-09-17 19:51:35 -07:00
list_providers.py feat: support listing all for llama stack list-providers (#1056) 2025-02-12 22:03:28 -08:00
run.py feat: add --run to llama stack build (#1156) 2025-02-23 22:06:09 -05:00
stack.py chore: remove configure subcommand (#1202) 2025-02-21 08:06:25 -08:00