1
0
Fork 0
forked from wry/wry

autocommit 2022-03-30 15:44:07 CEST

This commit is contained in:
Julian Orth 2022-03-30 15:44:07 +02:00
parent 28c9b46400
commit c4854c4d7d
7 changed files with 117 additions and 41 deletions

View file

@ -1,5 +1,6 @@
mod generate;
mod log;
mod quit;
use crate::compositor::start_compositor;
use ::log::Level;
@ -30,6 +31,8 @@ pub enum Cmd {
GenerateCompletion(GenerateArgs),
/// Open the log file.
Log(LogArgs),
/// Stop the compositor.
Quit,
}
#[derive(Args, Debug)]
@ -104,5 +107,6 @@ pub fn main() {
Cmd::Run(a) => start_compositor(cli.global, a),
Cmd::GenerateCompletion(g) => generate::main(g),
Cmd::Log(a) => log::main(cli.global, a),
Cmd::Quit => quit::main(cli.global),
}
}