diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-11-27 08:55:31 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-11-27 08:55:31 +0000 |
| commit | c002cef1e5d19946244086531f1178446fed8545 (patch) | |
| tree | 39067fb72431b464a31d23adb3adee85443c04d4 /src/bin/ngit/main.rs | |
| parent | 242601c972b7186ad380d301b7c12ce9d19aa959 (diff) | |
feat(logout): add logout command
rather than using `ngit login` which is less intuative
Diffstat (limited to 'src/bin/ngit/main.rs')
| -rw-r--r-- | src/bin/ngit/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/ngit/main.rs b/src/bin/ngit/main.rs index 53fee06..cdd0e97 100644 --- a/src/bin/ngit/main.rs +++ b/src/bin/ngit/main.rs | |||
| @@ -17,6 +17,7 @@ async fn main() -> Result<()> { | |||
| 17 | match &cli.command { | 17 | match &cli.command { |
| 18 | Commands::Fetch(args) => sub_commands::fetch::launch(&cli, args).await, | 18 | Commands::Fetch(args) => sub_commands::fetch::launch(&cli, args).await, |
| 19 | Commands::Login(args) => sub_commands::login::launch(&cli, args).await, | 19 | Commands::Login(args) => sub_commands::login::launch(&cli, args).await, |
| 20 | Commands::Logout => sub_commands::logout::launch().await, | ||
| 20 | Commands::Init(args) => sub_commands::init::launch(&cli, args).await, | 21 | Commands::Init(args) => sub_commands::init::launch(&cli, args).await, |
| 21 | Commands::ExportKeys => sub_commands::export_keys::launch().await, | 22 | Commands::ExportKeys => sub_commands::export_keys::launch().await, |
| 22 | Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await, | 23 | Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await, |