datui-cli is both an executable binary that can be run, and a library that can be used in Rust programs.
Installing the gen_docs executable
Assuming you have Rust/Cargo installed, run this command in a terminal:
cargo install datui-cli
It will make the gen_docs command available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall datui-cli uninstalls.
Adding datui_cli library as a dependency
Run this command in a terminal, in your project's directory:
cargo add datui-cli
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
datui-cli = "0.2.44"
The datui_cli library will be automatically available globally.
Read the datui_cli library documentation.