diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-11-04 12:02:52 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-11-04 12:02:52 +0000 |
| commit | 43b5e9b38bf5dcfbac85637a2d3efc69ddfe77ac (patch) | |
| tree | 28f0937414ec22921a73da08c38d93284bb50e41 /src/bin/ngit/cli.rs | |
| parent | d62a6a4355d47de9babd6fc86fae2b240ff3ab28 (diff) | |
refactor: remove ngit `pull` `push` `fetch`
simplify api to encougage use of the git plugin
Diffstat (limited to 'src/bin/ngit/cli.rs')
| -rw-r--r-- | src/bin/ngit/cli.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs index d0f934e..13e18d1 100644 --- a/src/bin/ngit/cli.rs +++ b/src/bin/ngit/cli.rs | |||
| @@ -27,18 +27,12 @@ pub struct Cli { | |||
| 27 | 27 | ||
| 28 | #[derive(Subcommand)] | 28 | #[derive(Subcommand)] |
| 29 | pub enum Commands { | 29 | pub enum Commands { |
| 30 | /// update cache with latest updates from nostr | ||
| 31 | Fetch(sub_commands::fetch::SubCommandArgs), | ||
| 32 | /// signal you are this repo's maintainer accepting proposals via nostr | 30 | /// signal you are this repo's maintainer accepting proposals via nostr |
| 33 | Init(sub_commands::init::SubCommandArgs), | 31 | Init(sub_commands::init::SubCommandArgs), |
| 34 | /// issue commits as a proposal | 32 | /// issue commits as a proposal |
| 35 | Send(sub_commands::send::SubCommandArgs), | 33 | Send(sub_commands::send::SubCommandArgs), |
| 36 | /// list proposals; checkout, apply or download selected | 34 | /// list proposals; checkout, apply or download selected |
| 37 | List, | 35 | List, |
| 38 | /// send proposal revision | ||
| 39 | Push(sub_commands::push::SubCommandArgs), | ||
| 40 | /// fetch and apply new proposal commits / revisions linked to branch | ||
| 41 | Pull, | ||
| 42 | /// run with --nsec flag to change npub | 36 | /// run with --nsec flag to change npub |
| 43 | Login(sub_commands::login::SubCommandArgs), | 37 | Login(sub_commands::login::SubCommandArgs), |
| 44 | } | 38 | } |