CQCL / hugr

Hierarchical Unified Graph Representation for quantum and classical programs
https://crates.io/crates/hugr
Apache License 2.0
16 stars 4 forks source link

CLI subcommands #1311

Closed zrho closed 1 month ago

zrho commented 1 month ago

Currently the hugr-cli binary can just validate hugrs. To allow for more tooling to be consolidated into the CLI tool, I propose we use subcommands (like cargo and git do). The current functionality can be moved to a validate subcommand, so that it would be run with hugr validate [...]. Clap has good support for this.

ss2165 commented 1 month ago

Closing as duplicate of #1207