summaryrefslogtreecommitdiffstats
path: root/src/command/server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/server.rs')
-rw-r--r--src/command/server.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/command/server.rs b/src/command/server.rs
index 1ddc73e7..9d9bcb3a 100644
--- a/src/command/server.rs
+++ b/src/command/server.rs
@@ -2,6 +2,7 @@ use eyre::Result;
use structopt::StructOpt;
use crate::remote::server;
+use crate::settings::Settings;
#[derive(StructOpt)]
pub enum Cmd {
@@ -10,8 +11,8 @@ pub enum Cmd {
#[allow(clippy::unused_self)] // I'll use it later
impl Cmd {
- pub fn run(&self) -> Result<()> {
- server::launch();
+ pub fn run(&self, settings: &Settings) -> Result<()> {
+ server::launch(settings);
Ok(())
}
}