diff options
Diffstat (limited to 'crates/mozart/src/commands/create_project.rs')
| -rw-r--r-- | crates/mozart/src/commands/create_project.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/mozart/src/commands/create_project.rs b/crates/mozart/src/commands/create_project.rs index 2156477..1aaa4c5 100644 --- a/crates/mozart/src/commands/create_project.rs +++ b/crates/mozart/src/commands/create_project.rs @@ -34,7 +34,7 @@ pub struct CreateProjectArgs { pub prefer_dist: bool, /// Forces usage of a specific install method (dist, source, auto) - #[arg(long)] + #[arg(long, value_parser = ["source", "dist", "auto"])] pub prefer_install: Option<String>, /// Add a custom repository to discover the package @@ -90,7 +90,7 @@ pub struct CreateProjectArgs { pub no_audit: bool, /// Audit output format - #[arg(long)] + #[arg(long, value_parser = ["table", "plain", "json", "summary"])] pub audit_format: Option<String>, /// Do not block on security advisories @@ -480,6 +480,7 @@ pub async fn execute( classmap_authoritative: false, apcu_autoloader: false, apcu_autoloader_prefix: None, + download_only: false, }, ) .await?; |
