17 stable releases

2.0.32 Sep 1, 2025
2.0.30 Aug 31, 2025
0.2.12 Aug 29, 2025
0.1.3 Aug 23, 2025

#287 in Development tools

Download history

847 downloads per month

Apache-2.0

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 dependencies
  • install - Install dependencies from canon.yml
  • add - Add a new dependency to canon.yml
  • validate - Validate specification syntax and structure
  • clean - Remove Canon artifacts
  • config - 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