Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Ruben Arts <[email protected]>
  • Loading branch information
abkfenris and ruben-arts authored Sep 16, 2024
1 parent be4a174 commit 8dc6b53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/cli/project/export/conda_environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ pub struct Args {
/// Explicit path to export the environment to
pub output_path: Option<PathBuf>,

Check warning on line 23 in src/cli/project/export/conda_environment.rs

View workflow job for this annotation

GitHub Actions / Cargo Format

Diff in /home/runner/work/pixi/pixi/src/cli/project/export/conda_environment.rs

/// Environment to render, defaults to the current environment
/// The platform to render the environment file for.
/// Defaults to the current platform.
#[arg(short, long)]
pub platform: Option<Platform>,

/// The environment to list packages for. Defaults to the default
/// environment.
/// The environment to render the environment file for.

Check warning on line 30 in src/cli/project/export/conda_environment.rs

View workflow job for this annotation

GitHub Actions / Cargo Format

Diff in /home/runner/work/pixi/pixi/src/cli/project/export/conda_environment.rs
/// Defaults to the default environment.
#[arg(short, long)]
pub environment: Option<String>,
}
Expand Down
1 change: 0 additions & 1 deletion src/cli/project/export/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ pub enum Command {
#[clap(visible_alias = "ces")]
CondaExplicitSpec(conda_explicit_spec::Args),
/// Export project environment to a conda environment.yaml file
#[clap(visible_alias = "conda")]
CondaEnvironment(conda_environment::Args),
}

Expand Down

0 comments on commit 8dc6b53

Please sign in to comment.