fix: cleanup code
This commit is contained in:
		
							parent
							
								
									b7c6e7aa6f
								
							
						
					
					
						commit
						b34cdb4aa4
					
				
					 2 changed files with 7 additions and 7 deletions
				
			
		|  | @ -38,7 +38,7 @@ impl Command { | ||||||
|         match self { |         match self { | ||||||
|             Command::Install { |             Command::Install { | ||||||
|                 build, |                 build, | ||||||
|                 package_identifier, |                 package_identifier: _, | ||||||
|             } => { |             } => { | ||||||
|                 if *build { |                 if *build { | ||||||
|                     error!("Build is not yet implemented."); |                     error!("Build is not yet implemented."); | ||||||
|  | @ -46,10 +46,10 @@ impl Command { | ||||||
|                     error!("Install is not yet implemented."); |                     error!("Install is not yet implemented."); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|             Command::Remove { package_identifier } => { |             Command::Remove { package_identifier: _ } => { | ||||||
|                 error!("Remove is not yet implemented."); |                 error!("Remove is not yet implemented."); | ||||||
|             } |             } | ||||||
|             Command::List { installed } => { |             Command::List { installed: _ } => { | ||||||
|                 error!("List is not yet implemented."); |                 error!("List is not yet implemented."); | ||||||
|             } |             } | ||||||
|             Command::Update => { |             Command::Update => { | ||||||
|  |  | ||||||
|  | @ -1,9 +1,9 @@ | ||||||
| use clap::Parser; | use clap::Parser; | ||||||
| use std::env; |  | ||||||
| use std::process::exit; |  | ||||||
| use std::str::FromStr; |  | ||||||
| 
 | 
 | ||||||
| use crate::commands::{Cli, Command}; | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | use crate::commands::{Cli}; | ||||||
| use log::{info, SetLoggerError}; | use log::{info, SetLoggerError}; | ||||||
| 
 | 
 | ||||||
| mod commands; | mod commands; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue