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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file assertion_cli-0.4.0.tar.gz.
File metadata
- Download URL: assertion_cli-0.4.0.tar.gz
- Upload date:
- Size: 27.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc5fa941ff631f6c0dcd5abe8ab40b69d76e548cfed103613e14e7b97e0a92d6
|
|
| MD5 |
bbcf282e1a47bd04021d27c314a7d33a
|
|
| BLAKE2b-256 |
68ce365702430fc0112466dad5d8526b5b0bb0df74c36a1e904412db79620fe2
|
File details
Details for the file assertion_cli-0.4.0-py3-none-any.whl.
File metadata
- Download URL: assertion_cli-0.4.0-py3-none-any.whl
- Upload date:
- Size: 23.4 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f8c7a940c0cb5ee034cc21370d3060ea9174eb3803d2c8aeecf4d5aa649814b
|
|
| MD5 |
2ada8e555a3b336a85081569171a9c86
|
|
| BLAKE2b-256 |
1b3713c97c889365ecb58b9e0ae5d257a2325cb945c7485d291f577712908cfe
|