Code Craft AI ArCli
The codecraftai-arcli package is the command-line-interface toolkit used by the CLI entry points across the ccai suite (for example testbase, testplus, am-interop, and the per-package cmdtree subcommands). It provides a declarative model for building rich CLI trees without tying the suite to a specific external framework.
Highlights
Command hierarchy: Command, GroupingCommand, and EntryCommand under arcli/model/.
Typed parameters: ParameterBase subclasses for booleans, integers, strings (plus optional and list variants).
Field descriptors: ArgField, OptionField, and TrapField.
Runtime plumbing: Parsing, HelpGenerator, Interact, and Decorators.
CliRunner and Result pair under testing.py for unit-testing CLI commands.
Repository Structure
development/ - Runtime environment scripts.
repository-setup/ - Repository homing and setup scripts.
source/packages/ - Package source code.
source/tests/ - unittest-based tests.
source/examples/ - Example CLI definitions.
specs/ - CLI specifications and supporting documents.
userguide/ - Standards, conventions, and documentation.
Environment Setup
When working in a Codex container:
./development/setup-agent-container
For local development:
./repository-setup/rehome-repository
./development/setup-environment
Running Tests
Activate the virtual environment:
source .venv/bin/activate
Run unittest tests:
python -m unittest discover -s source/tests -p "test_*.py"
Standards and Conventions
Naming conventions: userguide/10-02-naming-conventions.rst
Code organization: userguide/10-01-code-organization.rst
Coding standards: userguide/10-00-coding-standards.rst
Additional Resources
User guide entry point: userguide/userguide.rst
CLI specifications: specs/cli/
Metadata
Release files for codecraftai-arcli 1.2.1
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 | |
|---|---|---|---|---|
| codecraftai_arcli-1.2.1.tar.gz | 36.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| codecraftai_arcli-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 98.1 kB
Release files / codecraftai_arcli-1.2.1.tar.gz
| Download URL | codecraftai_arcli-1.2.1.tar.gz |
|---|---|
| Size | 36.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c606b8604ce11c0b8d92d03f42125f1f0afcad003adfc97d6f86d622331cac4c
|
|
BLAKE2b-256 checksum How to use checksums |
8b693ff040424a7d577b5b74fbc3884d46a5110efa17a50f0197096b98157960
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 20, 2026.
Transparency logRelease files / codecraftai_arcli-1.2.1-py3-none-any.whl
| Download URL | codecraftai_arcli-1.2.1-py3-none-any.whl |
|---|---|
| Size | 62.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ee1f622a50c64feb5b79814ebceae94d7b22ac821fbae2960406abd9bcbd207
|
|
BLAKE2b-256 checksum How to use checksums |
b8df12d395fe3ca23b2e57e5207d44e94aa64622c2f815deaf9f5166451c1f77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 20, 2026.
Transparency logSecurity for codecraftai-arcli 1.2.1
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 codecraftai_arcli-1.2.1.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 Oct 20, 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.