aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/server.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command/server.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/command/server.rs b/src/command/server.rs
index aee64c07..1ddc73e7 100644
--- a/src/command/server.rs
+++ b/src/command/server.rs
@@ -1,14 +1,15 @@
use eyre::Result;
use structopt::StructOpt;
-use crate::server::server;
+use crate::remote::server;
#[derive(StructOpt)]
-pub enum ServerCmd {
- Start { command: Vec<String> },
+pub enum Cmd {
+ Start { host: Vec<String> },
}
-impl ServerCmd {
+#[allow(clippy::unused_self)] // I'll use it later
+impl Cmd {
pub fn run(&self) -> Result<()> {
server::launch();
Ok(())