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-27 10:13:19 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-11-27 10:13:19 +0000
commitef552c12a6604c4b834f80b68c342d7f9668aa4b (patch)
tree2171eb4d26633a6220bf8d673bc4b58ccab3ab2b /src/bin/ngit/cli.rs
parent72d1d0cb7539216add6e096309c15aa3c353539d (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/cli.rs')
-rw-r--r--src/bin/ngit/cli.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs
index 9caf4d7..3a5b4e7 100644
--- a/src/bin/ngit/cli.rs
+++ b/src/bin/ngit/cli.rs
@@ -53,18 +53,12 @@ pub fn extract_signer_cli_arguments(args: &Cli) -> Result<Option<SignerInfo>> {
53 53
54#[derive(Subcommand)] 54#[derive(Subcommand)]
55pub enum Commands { 55pub enum Commands {
56 /// update cache with latest updates from nostr
57 Fetch(sub_commands::fetch::SubCommandArgs),
58 /// signal you are this repo's maintainer accepting proposals via nostr 56 /// signal you are this repo's maintainer accepting proposals via nostr
59 Init(sub_commands::init::SubCommandArgs), 57 Init(sub_commands::init::SubCommandArgs),
60 /// issue commits as a proposal 58 /// issue commits as a proposal
61 Send(sub_commands::send::SubCommandArgs), 59 Send(sub_commands::send::SubCommandArgs),
62 /// list proposals; checkout, apply or download selected 60 /// list proposals; checkout, apply or download selected
63 List, 61 List,
64 /// send proposal revision
65 Push(sub_commands::push::SubCommandArgs),
66 /// fetch and apply new proposal commits / revisions linked to branch
67 Pull,
68 /// login, logout or export keys 62 /// login, logout or export keys
69 Account(AccountSubCommandArgs), 63 Account(AccountSubCommandArgs),
70} 64}