diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-11-27 10:13:19 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-11-27 10:13:19 +0000 |
| commit | ef552c12a6604c4b834f80b68c342d7f9668aa4b (patch) | |
| tree | 2171eb4d26633a6220bf8d673bc4b58ccab3ab2b /src/bin/ngit/main.rs | |
| parent | 72d1d0cb7539216add6e096309c15aa3c353539d (diff) | |
feat: remove `pull` `push` and `fetch` ngit cmds
to simplify the api and encourage use of the git remote helper
Diffstat (limited to 'src/bin/ngit/main.rs')
| -rw-r--r-- | src/bin/ngit/main.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bin/ngit/main.rs b/src/bin/ngit/main.rs index a49267b..a6e3e11 100644 --- a/src/bin/ngit/main.rs +++ b/src/bin/ngit/main.rs | |||
| @@ -20,11 +20,8 @@ async fn main() -> Result<()> { | |||
| 20 | AccountCommands::Logout => sub_commands::logout::launch().await, | 20 | AccountCommands::Logout => sub_commands::logout::launch().await, |
| 21 | AccountCommands::ExportKeys => sub_commands::export_keys::launch().await, | 21 | AccountCommands::ExportKeys => sub_commands::export_keys::launch().await, |
| 22 | }, | 22 | }, |
| 23 | Commands::Fetch(args) => sub_commands::fetch::launch(&cli, args).await, | ||
| 24 | Commands::Init(args) => sub_commands::init::launch(&cli, args).await, | 23 | Commands::Init(args) => sub_commands::init::launch(&cli, args).await, |
| 25 | Commands::List => sub_commands::list::launch().await, | 24 | Commands::List => sub_commands::list::launch().await, |
| 26 | Commands::Pull => sub_commands::pull::launch().await, | ||
| 27 | Commands::Push(args) => sub_commands::push::launch(&cli, args).await, | ||
| 28 | Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await, | 25 | Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await, |
| 29 | } | 26 | } |
| 30 | } | 27 | } |