added the serve command
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
pub mod traits;
|
||||
pub mod executions;
|
||||
pub mod build;
|
||||
pub mod health;
|
||||
pub mod install_reveal;
|
||||
mod serve;
|
||||
pub mod serve;
|
||||
|
||||
@@ -1,14 +1,3 @@
|
||||
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 {}
|
||||
}
|
||||
pub fn serve() {
|
||||
println!("serving the developement version")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user