|
|
@ -28,8 +28,8 @@ pub enum Commands {
|
|
|
|
Checkout {
|
|
|
|
Checkout {
|
|
|
|
/// Reference name
|
|
|
|
/// Reference name
|
|
|
|
reference: String,
|
|
|
|
reference: String,
|
|
|
|
/// Project list to apply checkout to, defaults to all
|
|
|
|
/// Memeber list to apply checkout to, defaults to all
|
|
|
|
#[clap(short = 'p')]
|
|
|
|
#[clap(short = 'm')]
|
|
|
|
projects: Option<Vec<String>>,
|
|
|
|
projects: Option<Vec<String>>,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -39,6 +39,9 @@ pub enum ProfileCommand {
|
|
|
|
/// Save the current workspace VCS state to Cargo_vcs.toml under given profile name
|
|
|
|
/// Save the current workspace VCS state to Cargo_vcs.toml under given profile name
|
|
|
|
#[clap(arg_required_else_help = true)]
|
|
|
|
#[clap(arg_required_else_help = true)]
|
|
|
|
Save { profile: String },
|
|
|
|
Save { profile: String },
|
|
|
|
|
|
|
|
/// Remove the given profile configuration
|
|
|
|
|
|
|
|
#[clap(arg_required_else_help = true)]
|
|
|
|
|
|
|
|
Remove { profile: String },
|
|
|
|
/// Switch workspace to given profile
|
|
|
|
/// Switch workspace to given profile
|
|
|
|
#[clap(arg_required_else_help = true)]
|
|
|
|
#[clap(arg_required_else_help = true)]
|
|
|
|
Set { profile: String },
|
|
|
|
Set { profile: String },
|
|
|
|