diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/main.rs b/src/main.rs index 0e8e847..82a87c8 100644 --- a/src/main.rs +++ b/src/main.rs | |||
| @@ -32,18 +32,19 @@ pub struct Cli { | |||
| 32 | 32 | ||
| 33 | #[derive(Subcommand)] | 33 | #[derive(Subcommand)] |
| 34 | enum Commands { | 34 | enum Commands { |
| 35 | /// save encrypted nsec for future use | 35 | /// issue a repo event as a maintainers to signal you are accepting |
| 36 | Login(sub_commands::login::SubCommandArgs), | 36 | /// proposals via nostr |
| 37 | /// issue repository reference event as a maintainers | ||
| 38 | Init(sub_commands::init::SubCommandArgs), | 37 | Init(sub_commands::init::SubCommandArgs), |
| 39 | /// send a PR / patch / patch set via nostr events | 38 | /// issue commits on current branch as a new proposal |
| 40 | Send(sub_commands::send::SubCommandArgs), | 39 | Send(sub_commands::send::SubCommandArgs), |
| 41 | /// list open PRs / patches / patch sets and pull / apply them a branch | 40 | /// list proposals; optionally apply them as a new branch |
| 42 | List(sub_commands::list::SubCommandArgs), | 41 | List(sub_commands::list::SubCommandArgs), |
| 42 | /// send new commits as proposal ammendments | ||
| 43 | Push, | ||
| 43 | /// pull latest commits in pr linked to checked out branch | 44 | /// pull latest commits in pr linked to checked out branch |
| 44 | Pull, | 45 | Pull, |
| 45 | /// push commits to current checked out pr branch | 46 | /// run with --nsec flag to change npub |
| 46 | Push, | 47 | Login(sub_commands::login::SubCommandArgs), |
| 47 | } | 48 | } |
| 48 | 49 | ||
| 49 | #[tokio::main] | 50 | #[tokio::main] |