diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-12-08 17:50:29 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-12-08 18:44:24 +0100 |
commit | 7ae0325d7e54df8db88bc7bc757c3cb674a0fb0f (patch) | |
tree | d5aed5f5c9681c954f6756550ca219d48b1dee1a /gui/src/cli.rs | |
parent | 82add278cc59329345c49554539922926635ee70 (diff) |
Split codebase in subcrates for lib, cli and gui
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'gui/src/cli.rs')
-rw-r--r-- | gui/src/cli.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gui/src/cli.rs b/gui/src/cli.rs new file mode 100644 index 0000000..6ebdfb9 --- /dev/null +++ b/gui/src/cli.rs @@ -0,0 +1,12 @@ +use clap::crate_authors; +use clap::crate_version; +use clap::App; +use clap::Arg; + +pub fn app<'a>() -> App<'a> { + App::new("distrox-gui") + .author(crate_authors!()) + .version(crate_version!()) + .about("Distributed social network, GUI frontend") +} + |