cliqa
Analyze CLI tools against clig.dev guidelines.
Installation
uv tool install cliqa
# or
pip install cliqa
Usage
Analyze any CLI command:
cliqa analyze ls
cliqa analyze git
cliqa analyze your-cli-tool
Run specific checks:
cliqa check ls help
cliqa check git version
List all available checks:
cliqa list-checks
Features
- No mocking: Real integration tests with actual CLI commands
- 93% test coverage: Comprehensive test suite
- NASA05 compliance: Defensive assertions throughout
- clig.dev alignment: Checks against modern CLI best practices
Pre-commit Hook
Add to your .pre-commit-config.yaml:
repos:
- repo: https://github.com/benomahony/cliqa
rev: v0.1.4
hooks:
- id: cliqa
args: [your-cli-tool]
Analyze multiple commands:
repos:
- repo: https://github.com/benomahony/cliqa
rev: v0.1.1
hooks:
- id: cliqa
name: Check main CLI
args: [my-tool]
- id: cliqa
name: Check admin CLI
args: [my-admin-tool]
Enable AI-powered analysis:
repos:
- repo: https://github.com/benomahony/cliqa
rev: v0.1.1
hooks:
- id: cliqa
args: [your-cli-tool, --ai]
This will analyze your CLI tool before each commit and fail if any errors are found.
Development
# Install dependencies
uv sync --extra test
# Run tests
uv run pytest
# Run pre-commit checks
pre-commit run --all-files
License
MIT
Metadata
Release files for cliqa 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cliqa-0.1.5.tar.gz | 171.5 kB | With provenance | Details for cliqa-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cliqa-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for cliqa-0.1.5-py3-none-any.whl |
Total release size: 187.3 kB
Release files / cliqa-0.1.5.tar.gz
| Download URL | cliqa-0.1.5.tar.gz |
|---|---|
| Size | 171.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f066cb82a85ff446d9875fce2534a2cc3a026458451b9859decc9d5b697065c1
|
|
BLAKE2b-256 checksum How to use checksums |
d64fd386d74e8b490fbb7b6de19e9907ae445cf6e2663156824ed487e861eea7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 12, 2026.
Transparency logRelease files / cliqa-0.1.5-py3-none-any.whl
| Download URL | cliqa-0.1.5-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75afff2ebf2e6e1cb28fe2aed47acb22b7b8f3c258ca44efbf988c55b7e01c96
|
|
BLAKE2b-256 checksum How to use checksums |
4936fb1566063b1b5cde6cedcd1092da2eb230bdd497680fab54951674938eb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 12, 2026.
Transparency logSecurity for cliqa 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for cliqa-0.1.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.