registered command for developement serving
This commit is contained in:
14
src/app/commands/serve.rs
Normal file
14
src/app/commands/serve.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
use super::traits::Command;
|
||||
|
||||
pub struct Serve;
|
||||
|
||||
impl Command for Serve {
|
||||
fn execute(&self, _args: &std::collections::HashMap<String, String>) -> Result<(), String> {
|
||||
println!("serving the application");
|
||||
return Ok(())
|
||||
}
|
||||
|
||||
fn new() -> Self where Self: Sized {
|
||||
return Self {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user