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 install # one-time onboarding: write skill files, AGENTS.md/CLAUDE.md pointer, .gitignore
asrt session start # per work session: record the diff base (current HEAD)
asrt new # reset local run state for a fresh session
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
- Bump the version in
cli/pyproject.toml. - Commit and push to
main.
That's it. The Publish CLI to PyPI workflow auto-triggers on pushes that
change cli/pyproject.toml. It reads the version from the file, runs tests,
builds, publishes to PyPI, and pushes a cli-v<version> tag.
If the version hasn't changed (e.g. you updated a dependency), the workflow skips publishing — only version bumps trigger a publish.
You can also trigger the workflow manually from the GitHub Actions UI — it
reads the version from the current pyproject.toml on main.
Prerequisite: PYPI_TOKEN must be set as a GitHub Actions secret — a
PyPI API token with upload scope for assertion-cli.
Project details
Release history Release notifications | RSS feed
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.5.12.tar.gz.
File metadata
- Download URL: assertion_cli-0.5.12.tar.gz
- Upload date:
- Size: 35.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe394fdada129b6cf02a06cf1610af1b7bac04a80accd3802f40c8ecc0f7a782
|
|
| MD5 |
9cc8b38662599328c4dd9583ef05bb77
|
|
| BLAKE2b-256 |
d71746bc96373cf427c834df5c82eeffb0d2de09aa389a87242dc3880e398ea0
|
File details
Details for the file assertion_cli-0.5.12-py3-none-any.whl.
File metadata
- Download URL: assertion_cli-0.5.12-py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aff7b08ab28127ef6d05a789b2deab26012baaf54b63e6da6bbec6bd5631790d
|
|
| MD5 |
24914475938accc09e997943eb0db655
|
|
| BLAKE2b-256 |
2615304f0d3cb5bbb50053faa0eebc39d12fcef27b6950bb4a72c0b6f0815eee
|