Add version modifiers to display build version, dependencies and providers:

- add the `llama stack version` command that accepts modifiers to get
  additional informations
- without any argument it displays the build version as the llama
  --version command
- -o table,json allows to change output format
- --dependencies display the dependency list used to build llamastack
- --build-info displays the build information
- --all display both and build version

Signed-off-by: Akram Ben Aissi <akram.benaissi@gmail.com>
This commit is contained in:
Akram Ben Aissi 2025-06-25 17:52:00 +02:00
parent ececc323d3
commit efbe5fd477
6 changed files with 522 additions and 0 deletions

3
.gitignore vendored
View file

@ -30,3 +30,6 @@ AGENTS.md
server.log
CLAUDE.md
.claude/
# Auto-generated build info
llama_stack/cli/build_info.py