jetstan-cli
Engineer-facing CLI for Jetstan fleet operations. Installs its own
console script, jetstan, independently of jetstan-agent — this is
a standalone PyPI package, not a submodule of the OTA agent.
jetstan talks to the Control Plane (cloud-logics) over HTTP only.
It never talks to PostgreSQL or MQTT directly (see the repo root
TECHNICAL.md for the full architecture).
Phase 2.1 status
Exactly three commands exist:
jetstan --help
jetstan --version
jetstan health
Nothing else. jetstan_cli/commands/*.py are documented placeholders
for future subcommands (publish, deployment-group, deployment,
release) — not wired into the CLI yet, since the Control Plane has
no business logic to back them.
jetstan_deploy.py, the working release tool relocated here from the
old top-level scripts/, is unrelated to the jetstan command and
still runs via python -m jetstan_cli.jetstan_deploy.
Installing
cd jetstan-cli
pip install -e .
Or, once published:
pip install jetstan-cli
Either way, this registers the jetstan console script.
Configuration
jetstan health needs to know where the Control Plane is. Set
JETSTAN_API — there is no hardcoded default:
cp .env.example .env
# edit .env: JETSTAN_API=http://127.0.0.1:8123
jetstan_cli/config.py reads this from the environment (or from
jetstan-cli/.env for local development, the same convention every
other package in this repo already uses).
Usage
jetstan --help
jetstan --version
jetstan health
# ✓ Control Plane Healthy (exit code 0)
# or
# ✗ Control Plane Unreachable (exit code 1)
Testing
pip install -e ".[dev]"
pytest
Release files for jetstan-cli 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jetstan_cli-0.1.2.tar.gz | 21.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jetstan_cli-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.6 kB
Release files / jetstan_cli-0.1.2.tar.gz
| Download URL | jetstan_cli-0.1.2.tar.gz |
|---|---|
| Size | 21.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df72e3a1e96b9f793f8378e8ddf809f8980cdea49af69692ebba000264f60d99
|
|
BLAKE2b-256 checksum How to use checksums |
87a43ff26e7d75b0bde4f4d4ef9792afc639194acf4e6405d03279bba7bad045
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / jetstan_cli-0.1.2-py3-none-any.whl
| Download URL | jetstan_cli-0.1.2-py3-none-any.whl |
|---|---|
| Size | 18.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26b75aded3c02db6b3268ff93c99f20893f654b0fb8eb1a630e49fabe45f894d
|
|
BLAKE2b-256 checksum How to use checksums |
220d1d23273ab5f320b4fb2a0ffbe70e04e504346fa5548111b639509babff1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|