|
|
|
@ -28,8 +28,8 @@ pub enum Commands {
|
|
|
|
|
Checkout {
|
|
|
|
|
/// Reference name
|
|
|
|
|
reference: String,
|
|
|
|
|
/// Project list to apply checkout to, defaults to all
|
|
|
|
|
#[clap(short = 'p')]
|
|
|
|
|
/// Memeber list to apply checkout to, defaults to all
|
|
|
|
|
#[clap(short = 'm')]
|
|
|
|
|
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
|
|
|
|
|
#[clap(arg_required_else_help = true)]
|
|
|
|
|
Save { profile: String },
|
|
|
|
|
/// Remove the given profile configuration
|
|
|
|
|
#[clap(arg_required_else_help = true)]
|
|
|
|
|
Remove { profile: String },
|
|
|
|
|
/// Switch workspace to given profile
|
|
|
|
|
#[clap(arg_required_else_help = true)]
|
|
|
|
|
Set { profile: String },
|
|
|
|
|