diff options
-rw-r--r-- | cli/src/commands/mod.rs | 2 | ||||
-rw-r--r-- | cli/src/main.rs | 4 | ||||
-rw-r--r-- | cli/src/profile.rs (renamed from cli/src/commands/profile.rs) | 0 |
3 files changed, 2 insertions, 4 deletions
diff --git a/cli/src/commands/mod.rs b/cli/src/commands/mod.rs deleted file mode 100644 index 5569bcb..0000000 --- a/cli/src/commands/mod.rs +++ /dev/null @@ -1,2 +0,0 @@ -mod profile; -pub use profile::profile; diff --git a/cli/src/main.rs b/cli/src/main.rs index 99ac4d1..c4050ac 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -1,7 +1,7 @@ use anyhow::Result; mod cli; -mod commands; +mod profile; #[tokio::main] async fn main() -> Result<()> { @@ -9,7 +9,7 @@ async fn main() -> Result<()> { let matches = crate::cli::app().get_matches(); match matches.subcommand() { - Some(("profile", matches)) => crate::commands::profile(matches).await, + Some(("profile", matches)) => crate::profile::profile(matches).await, Some(("gui", _)) => { unimplemented!() }, diff --git a/cli/src/commands/profile.rs b/cli/src/profile.rs index 0eb8b75..0eb8b75 100644 --- a/cli/src/commands/profile.rs +++ b/cli/src/profile.rs |