17 stable releases
| 2.0.32 | Sep 1, 2025 |
|---|---|
| 2.0.30 | Aug 31, 2025 |
| 0.2.12 | Aug 29, 2025 |
| 0.1.3 |
|
#287 in Development tools
847 downloads per month
320KB
8K
SLoC
Canon CLI
Command-line tool for Canon protocol specifications.
Installation
cargo install canon-cli
Usage
# 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
Commands
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 configuration
Development
This CLI is built on top of the canon-protocol library which provides the core types and validation logic.
License
Apache-2.0
Dependencies
~30–52MB
~874K SLoC