upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/cli.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-11-11 09:06:19 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-11-11 09:06:19 +0000
commitf08ee98ab7e19d4e42ffa85aa619f012441fbe47 (patch)
treee4d2a15ebeb8a7549ce7e233f4690d71ac95c398 /src/bin/ngit/cli.rs
parent4331b73fbda4831f09a783732d6710012a4dcf20 (diff)
Revert "refactor: remove ngit `pull` `push` `fetch`"
This reverts commit 43b5e9b38bf5dcfbac85637a2d3efc69ddfe77ac.
Diffstat (limited to 'src/bin/ngit/cli.rs')
-rw-r--r--src/bin/ngit/cli.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs
index 13e18d1..d0f934e 100644
--- a/src/bin/ngit/cli.rs
+++ b/src/bin/ngit/cli.rs
@@ -27,12 +27,18 @@ pub struct Cli {
27 27
28#[derive(Subcommand)] 28#[derive(Subcommand)]
29pub enum Commands { 29pub enum Commands {
30 /// update cache with latest updates from nostr
31 Fetch(sub_commands::fetch::SubCommandArgs),
30 /// signal you are this repo's maintainer accepting proposals via nostr 32 /// signal you are this repo's maintainer accepting proposals via nostr
31 Init(sub_commands::init::SubCommandArgs), 33 Init(sub_commands::init::SubCommandArgs),
32 /// issue commits as a proposal 34 /// issue commits as a proposal
33 Send(sub_commands::send::SubCommandArgs), 35 Send(sub_commands::send::SubCommandArgs),
34 /// list proposals; checkout, apply or download selected 36 /// list proposals; checkout, apply or download selected
35 List, 37 List,
38 /// send proposal revision
39 Push(sub_commands::push::SubCommandArgs),
40 /// fetch and apply new proposal commits / revisions linked to branch
41 Pull,
36 /// run with --nsec flag to change npub 42 /// run with --nsec flag to change npub
37 Login(sub_commands::login::SubCommandArgs), 43 Login(sub_commands::login::SubCommandArgs),
38} 44}