Simple CLI tool that allows to pretty print all dependencies within conda environment.
conda-leaves doesn't require any additional libraries to be installed, but it assumes user has conda and cargo installed and available in system's path.
Installation is as simple as running cargo install conda-leaves.
helpPrints help information.
bash
conda-leaves help
leavesPrints top level packages in conda environment.
Flags:
--no-pip - Prints packages installed by conda onlyUsage:
bash
conda-leaves leaves [Flags]
packagePrints tree view for the package.
Options:
-n, -name - Name of the package that should be printed.Usage:
bash
conda-leaves package --name <name>
exportExports leaves to the file.
Options:
-f, --filename (default: environment.yml) - Name of the output yml file.Usage:
bash
conda-leaves export [Options]
bash
CONDA_PREFIX="./tests/data" cargo run --release -- <command>
bash
cargo test
bash
cargo doc