|  |  |  | @ -24,9 +24,14 @@ pub enum Commands { | 
		
	
		
			
				|  |  |  |  |     /// Set or save profiles
 | 
		
	
		
			
				|  |  |  |  |     #[clap(subcommand)] | 
		
	
		
			
				|  |  |  |  |     Profile(ProfileCommand), | 
		
	
		
			
				|  |  |  |  |     /// Set branch globally on workspace
 | 
		
	
		
			
				|  |  |  |  |     #[clap(subcommand)] | 
		
	
		
			
				|  |  |  |  |     Branch(BranchCommand), | 
		
	
		
			
				|  |  |  |  |     /// Checkout specific repo reference (branch, commit etc.)
 | 
		
	
		
			
				|  |  |  |  |     Checkout { | 
		
	
		
			
				|  |  |  |  |         /// Reference name
 | 
		
	
		
			
				|  |  |  |  |         reference: String, | 
		
	
		
			
				|  |  |  |  |         /// Project list to apply checkout to, defaults to all
 | 
		
	
		
			
				|  |  |  |  |         #[clap(short = 'p')] | 
		
	
		
			
				|  |  |  |  |         projects: Option<Vec<String>>, | 
		
	
		
			
				|  |  |  |  |     }, | 
		
	
		
			
				|  |  |  |  | } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | #[derive(Debug, Parser)] | 
		
	
	
		
			
				
					|  |  |  | @ -40,15 +45,3 @@ pub enum ProfileCommand { | 
		
	
		
			
				|  |  |  |  |     /// Lists all saved profiles
 | 
		
	
		
			
				|  |  |  |  |     List, | 
		
	
		
			
				|  |  |  |  | } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | #[derive(Debug, Parser)] | 
		
	
		
			
				|  |  |  |  | pub enum BranchCommand { | 
		
	
		
			
				|  |  |  |  |     /// Switch all projects in workspace to given branch
 | 
		
	
		
			
				|  |  |  |  |     #[clap(arg_required_else_help = true)] | 
		
	
		
			
				|  |  |  |  |     Set { | 
		
	
		
			
				|  |  |  |  |         branch: String, | 
		
	
		
			
				|  |  |  |  |         /// Project list, do any operation only on projects in this list (*comma separated*)
 | 
		
	
		
			
				|  |  |  |  |         #[clap(short = 'p')] | 
		
	
		
			
				|  |  |  |  |         projects: Option<Vec<String>>, | 
		
	
		
			
				|  |  |  |  |     }, | 
		
	
		
			
				|  |  |  |  | } | 
		
	
	
		
			
				
					|  |  |  | 
 |