Skip to main content

CLI for the Assertion API

Project description

Assertion CLI

CLI for the Assertion API.

Usage

The CLI currently targets a local backend at http://localhost:8000.

Run locally from the workspace:

uv run --package assertion-cli asrt --help

Install as a uv tool from PyPI:

uv tool install assertion-cli              # latest
uv tool install --reinstall assertion-cli  # upgrade in place

The CLI package declares all of its direct runtime dependencies. At the moment that set is httpx, pydantic, python-dotenv, and typer.

After installation:

asrt stacks
asrt checkpoint --stack <stack-id> "Implemented X\nUpdated Y"
asrt checkpoint --continue "Implemented Y"
asrt decision --yes <checkpoint-id>   # optional, only after a failed checkpoint
asrt verify                            # submit final verification (non-blocking)
asrt verify-status                     # one-shot poll; loop with your own sleep until terminal

Publishing a new version

# 1. Bump the version in cli/pyproject.toml.
# 2. Build the sdist + wheel.
uv build --package assertion-cli
# 3. Upload (requires UV_PUBLISH_TOKEN, or `--token` on the command).
uv publish dist/*
# 4. Tag the release so consumers can correlate to git:
git tag cli-v$(grep '^version = ' pyproject.toml | head -1 | cut -d'"' -f2)
git push origin --tags

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

assertion_cli-0.2.0.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

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

assertion_cli-0.2.0-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file assertion_cli-0.2.0.tar.gz.

File metadata

  • Download URL: assertion_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for assertion_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3696128b0ddce82bf73c69c401b1a2df18d3c7c53ab3339b89814ef08a4c8593
MD5 1078df788b86bac721f2511e17c6f811
BLAKE2b-256 f0b54ccc459e826dd6ec3e6204b9acdd8a63db328b9a0b6e3a12a9015a181185

See more details on using hashes here.

File details

Details for the file assertion_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: assertion_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for assertion_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ee8e5534a04c5292cd0e7f8b69d98f384dc01738ebcb2c0f0c5b959d845f2a8
MD5 4a5750bb438b2d9497817be6640e7512
BLAKE2b-256 5cc62e88bdaf4fe28c77e87cc16f556e76b0026e8c8af6090e96922fcff03cec

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