Skip to content

Simple CLI tool that allows to pretty print all dependencies within conda environment.

License

Notifications You must be signed in to change notification settings

lukaszKielar/conda-leaves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conda-leaves

Simple CLI tool that allows to pretty print all dependencies within conda environment.

Installation

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.

Commands

help

Prints help information.

conda-leaves help

leaves

Prints top level packages in conda environment.

Flags:

  • --no-pip - Prints packages installed by conda only

Usage:

conda-leaves leaves [Flags]

package

Prints tree view for the package.

Options:

  • -n, -name - Name of the package that should be printed.

Usage:

conda-leaves package --name <name>

export

Exports leaves to the file.

Options:

  • -f, --filename (default: environment.yml) - Name of the output yml file.

Usage:

conda-leaves export [Options]

Development

Running CLI using test data

CONDA_PREFIX="./tests/data" cargo run --release -- <command>

Running tests

cargo test

Compiling documentation

cargo doc

About

Simple CLI tool that allows to pretty print all dependencies within conda environment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages