From 43b5e9b38bf5dcfbac85637a2d3efc69ddfe77ac Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 4 Nov 2024 12:02:52 +0000 Subject: refactor: remove ngit `pull` `push` `fetch` simplify api to encougage use of the git plugin --- src/bin/ngit/main.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/bin/ngit/main.rs') diff --git a/src/bin/ngit/main.rs b/src/bin/ngit/main.rs index 45cbef5..38dc2c1 100644 --- a/src/bin/ngit/main.rs +++ b/src/bin/ngit/main.rs @@ -15,12 +15,9 @@ mod sub_commands; async fn main() -> Result<()> { let cli = Cli::parse(); match &cli.command { - Commands::Fetch(args) => sub_commands::fetch::launch(&cli, args).await, Commands::Login(args) => sub_commands::login::launch(&cli, args).await, Commands::Init(args) => sub_commands::init::launch(&cli, args).await, Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await, Commands::List => sub_commands::list::launch().await, - Commands::Pull => sub_commands::pull::launch().await, - Commands::Push(args) => sub_commands::push::launch(&cli, args).await, } } -- cgit v1.2.3