canon-cli

Crates.iocanon-cli
lib.rscanon-cli
version2.0.32
created_at2025-08-23 18:00:54.110422+00
updated_at2025-09-01 03:12:29.434234+00
descriptionCommand-line tool for Canon protocol specifications
homepagehttps://canon-protocol.org
repositoryhttps://github.com/canon-protocol/canon-cli
max_upload_size
id1807749
size375,715
Paul Fryer (paulfryer)

documentation

README

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

Commit count: 96

cargo fmt