summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-12-08 18:38:48 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-12-08 18:44:24 +0100
commitd497c550f3acce6b15bc60f792f5d4c25693fef8 (patch)
tree9b15546a359108e73bfc934d0374442fdfb822f1
parentd0f0c32c6249ff976dbe29ea3fb7610963772f94 (diff)
Restructure module layout
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--gui/src/app.rs (renamed from gui/src/gui/mod.rs)0
-rw-r--r--gui/src/main.rs4
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/gui/mod.rs b/gui/src/app.rs
index 1b4b98e..1b4b98e 100644
--- a/gui/src/gui/mod.rs
+++ b/gui/src/app.rs
diff --git a/gui/src/main.rs b/gui/src/main.rs
index bfa133e..67a09ec 100644
--- a/gui/src/main.rs
+++ b/gui/src/main.rs
@@ -1,7 +1,7 @@
use anyhow::Result;
+mod app;
mod cli;
-mod gui;
use distrox_lib::*;
@@ -12,7 +12,7 @@ fn main() -> Result<()> {
match matches.subcommand() {
None => {
let name = matches.value_of("name").map(String::from).unwrap(); // safe by clap
- crate::gui::run(name)
+ crate::app::run(name)
},
Some((other, _)) => {
log::error!("No subcommand {} implemented", other);