atuin/src/command/server.rs

17 lines
258 B
Rust
Raw Normal View History

2021-02-14 06:28:01 -07:00
use eyre::Result;
use structopt::StructOpt;
use crate::server::server;
#[derive(StructOpt)]
pub enum ServerCmd {
Start { command: Vec<String> },
}
impl ServerCmd {
pub fn run(&self) -> Result<()> {
server::launch();
Ok(())
}
}