registered command for developement serving

This commit is contained in:
2023-03-07 15:56:21 +01:00
parent f3a3ff2248
commit ab4d2bf7c3
3 changed files with 18 additions and 2 deletions

14
src/app/commands/serve.rs Normal file
View 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 {}
}
}