Crate hugr_cli

Crate hugr_cli 

Source
Expand description

Standard command line tools for the HUGR format.

This library provides utilities for the HUGR CLI.

§CLI Usage

Run cargo install hugr-cli to install the CLI tools. This will make the hugr executable available in your shell as long as you have cargo’s bin directory in your path.

The top level help can be accessed with:

hugr --help

Refer to the help for each subcommand for more information, e.g.

hugr validate --help

Modules§

convert
Convert between different HUGR envelope formats.
describe
Describe the contents of HUGR packages.
extensions
Dump standard extensions in serialized form.
hugr_io
Input/output arguments for the HUGR CLI.
mermaid
Render mermaid diagrams.
validate
The validate subcommand.

Structs§

CliArgs
CLI arguments.

Enums§

CliCommand
The CLI subcommands.
CliError
Error type for the CLI.