TRYCMD is both an executable binary that can be run, and a library that can be used in Rust programs.
Installing bin-fixture trycmd-schema executables
Assuming you have Rust/Cargo installed, run this command in a terminal:
cargo install trycmd
It will make bin-fixture trycmd-schema commands available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall trycmd uninstalls.
Adding trycmd library as a dependency
Run this command in a terminal, in your project's directory:
cargo add --dev trycmd
to add it a dev dependency (if it's used only in tests, not in the final product). To add it as a regular run-time dependency, run:
cargo add trycmd
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
trycmd = "1.2.0"
The trycmd library will be automatically available globally.
Read the trycmd library documentation.