Skip to main content

Engineer-facing CLI for Jetstan fleet operations. Standalone PyPI package (own console script: `jetstan`) that talks to the Control Plane over HTTP - never to PostgreSQL or MQTT directly. Also home to jetstan_deploy.py, the working release tool (relocated here from scripts/), which remains independent of the `jetstan` command surface.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jetstan_cli-0.1.0.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jetstan_cli-0.1.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file jetstan_cli-0.1.0.tar.gz.

File metadata

  • Download URL: jetstan_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for jetstan_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5a0aa333ab76a9fef7dfce6f713f2e19ee04ffabb0105d7bd24059ca9344939a
MD5 5dd003e781b0678b86eb56485f5a83ab
BLAKE2b-256 72b092b3f989874ff725c073d3a69b291cc12e18c3a5512a666ea92676ecdba9

See more details on using hashes here.

File details

Details for the file jetstan_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jetstan_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for jetstan_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bad9bed1a71fa5ae8abf3051ed17a5eed992417ccad90b58fab07c76976dadce
MD5 567eb71ed4d350bc9334ca0af74b9221
BLAKE2b-256 6d30df9d1cbe966a76a32099ddb8f6e4360a61e07b85e67cbc1d829604a768a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page