created new command for setup
This commit is contained in:
15
src/app/commands/setup.rs
Normal file
15
src/app/commands/setup.rs
Normal file
@@ -0,0 +1,15 @@
|
||||
use std::collections::HashMap;
|
||||
|
||||
use super::traits::Command;
|
||||
|
||||
pub struct Setup;
|
||||
|
||||
impl Command for Setup {
|
||||
fn execute(&self, _args: &HashMap<String, String>) -> Result<(), String> {
|
||||
return Ok(())
|
||||
}
|
||||
|
||||
fn new() -> Self where Self: Sized {
|
||||
return Self {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user