upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/main.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-11-04 12:02:52 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-11-04 12:02:52 +0000
commit43b5e9b38bf5dcfbac85637a2d3efc69ddfe77ac (patch)
tree28f0937414ec22921a73da08c38d93284bb50e41 /src/bin/ngit/main.rs
parentd62a6a4355d47de9babd6fc86fae2b240ff3ab28 (diff)
refactor: remove ngit `pull` `push` `fetch`
simplify api to encougage use of the git plugin
Diffstat (limited to 'src/bin/ngit/main.rs')
-rw-r--r--src/bin/ngit/main.rs3
1 files changed, 0 insertions, 3 deletions
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;
15async fn main() -> Result<()> { 15async fn main() -> Result<()> {
16 let cli = Cli::parse(); 16 let cli = Cli::parse();
17 match &cli.command { 17 match &cli.command {
18 Commands::Fetch(args) => sub_commands::fetch::launch(&cli, args).await,
19 Commands::Login(args) => sub_commands::login::launch(&cli, args).await, 18 Commands::Login(args) => sub_commands::login::launch(&cli, args).await,
20 Commands::Init(args) => sub_commands::init::launch(&cli, args).await, 19 Commands::Init(args) => sub_commands::init::launch(&cli, args).await,
21 Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await, 20 Commands::Send(args) => sub_commands::send::launch(&cli, args, false).await,
22 Commands::List => sub_commands::list::launch().await, 21 Commands::List => sub_commands::list::launch().await,
23 Commands::Pull => sub_commands::pull::launch().await,
24 Commands::Push(args) => sub_commands::push::launch(&cli, args).await,
25 } 22 }
26} 23}