Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszKielar committed Oct 11, 2020
1 parent 1f7e70d commit ef7ec56
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,17 @@ use crate::utils::get_leaves;
#[structopt(name = "conda-leaves")]
enum Opts {
/// Prints top level packages in conda environment
#[structopt(name = "leaves")]
Leaves {
/// Prints packages installed by conda only
#[structopt(long)]
no_pip: bool,
},

/// Prints tree view for the package
#[structopt(name = "package")]
Package {
#[structopt(short = "n", long)]
name: String,
},
/// Exports leaves to the file
#[structopt(name = "export")]
Export {
#[structopt(short = "f", long, default_value = "env.yml", parse(from_os_str))]
filename: PathBuf,
Expand Down Expand Up @@ -69,7 +65,6 @@ fn main() -> io::Result<()> {
let env: CondaEnv = leaves.into();
env.to_yml(&filename)?
}
_ => (),
}

Ok(())
Expand Down

0 comments on commit ef7ec56

Please sign in to comment.