[PR #270] [MERGED] feat: add a CLI to interact with the apiserver #366

Closed
opened 2026-02-16 01:17:04 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama_deploy/pull/270
Author: @masci
Created: 9/25/2024
Status: Merged
Merged: 9/26/2024
Merged by: @masci

Base: mainHead: massi/cli


📝 Commits (3)

📊 Changes

10 files changed (+211 additions, -0 deletions)

View changed files

llama_deploy/cli/__init__.py (+28 -0)
llama_deploy/cli/__main__.py (+11 -0)
llama_deploy/cli/deploy.py (+20 -0)
llama_deploy/cli/status.py (+32 -0)
tests/cli/__init__.py (+0 -0)
tests/cli/conftest.py (+14 -0)
tests/cli/data/deployment.yaml (+7 -0)
tests/cli/test_cli.py (+21 -0)
tests/cli/test_deploy.py (+34 -0)
tests/cli/test_status.py (+44 -0)

📄 Description

From the root of the repo:

$ python -m llama_deploy.cli       
Usage: python -m llama_deploy.cli [OPTIONS] COMMAND [ARGS]...

Options:
  --version          Show the version and exit.
  -s, --server TEXT  Apiserver URL
  -k, --disable-ssl  Disable SSL certificate verification
  -h, --help         Show this message and exit.

Commands:
  deploy
  status

Note commands have unit tests but can't be tested end-to-end until #267 is merged


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/llama_deploy/pull/270 **Author:** [@masci](https://github.com/masci) **Created:** 9/25/2024 **Status:** ✅ Merged **Merged:** 9/26/2024 **Merged by:** [@masci](https://github.com/masci) **Base:** `main` ← **Head:** `massi/cli` --- ### 📝 Commits (3) - [`0358738`](https://github.com/run-llama/llama_deploy/commit/03587381268f6e8e35cf91dcac6debb3c6d9061a) feat: add a CLI to interact with the apiserver - [`9a6fd4a`](https://github.com/run-llama/llama_deploy/commit/9a6fd4a6d8458218792b945dd07a174a4fb2797e) test status cmd - [`962d308`](https://github.com/run-llama/llama_deploy/commit/962d30844e62b887a9088d7b42edf3666faf52cf) add cli tests ### 📊 Changes **10 files changed** (+211 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `llama_deploy/cli/__init__.py` (+28 -0) ➕ `llama_deploy/cli/__main__.py` (+11 -0) ➕ `llama_deploy/cli/deploy.py` (+20 -0) ➕ `llama_deploy/cli/status.py` (+32 -0) ➕ `tests/cli/__init__.py` (+0 -0) ➕ `tests/cli/conftest.py` (+14 -0) ➕ `tests/cli/data/deployment.yaml` (+7 -0) ➕ `tests/cli/test_cli.py` (+21 -0) ➕ `tests/cli/test_deploy.py` (+34 -0) ➕ `tests/cli/test_status.py` (+44 -0) </details> ### 📄 Description From the root of the repo: ``` $ python -m llama_deploy.cli Usage: python -m llama_deploy.cli [OPTIONS] COMMAND [ARGS]... Options: --version Show the version and exit. -s, --server TEXT Apiserver URL -k, --disable-ssl Disable SSL certificate verification -h, --help Show this message and exit. Commands: deploy status ``` Note commands have unit tests but can't be tested end-to-end until #267 is merged --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:17:04 -05:00
yindo closed this issue 2026-02-16 01:17:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_deploy#366