| Crates.io | canon-cli |
| lib.rs | canon-cli |
| version | 2.0.32 |
| created_at | 2025-08-23 18:00:54.110422+00 |
| updated_at | 2025-09-01 03:12:29.434234+00 |
| description | Command-line tool for Canon protocol specifications |
| homepage | https://canon-protocol.org |
| repository | https://github.com/canon-protocol/canon-cli |
| max_upload_size | |
| id | 1807749 |
| size | 375,715 |
Command-line tool for Canon protocol specifications.
cargo install canon-cli
# Initialize a new Canon repository
canon init
# Install dependencies
canon install
# Add a new dependency
canon add "api.io/openapi@2.0.0"
# Validate specifications
canon validate
# Clean cached specifications
canon clean
init - Initialize new Canon repository with core dependenciesinstall - Install dependencies from canon.ymladd - Add a new dependency to canon.ymlvalidate - Validate specification syntax and structureclean - Remove Canon artifactsconfig - Manage configurationThis CLI is built on top of the canon-protocol library which provides the core types and validation logic.
Apache-2.0