diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 85b2812..539d9ff 100644 --- a/src/main.rs +++ b/src/main.rs | |||
| @@ -36,8 +36,10 @@ enum Commands { | |||
| 36 | Login(sub_commands::login::SubCommandArgs), | 36 | Login(sub_commands::login::SubCommandArgs), |
| 37 | /// issue repository reference event as a maintainers | 37 | /// issue repository reference event as a maintainers |
| 38 | Claim(sub_commands::claim::SubCommandArgs), | 38 | Claim(sub_commands::claim::SubCommandArgs), |
| 39 | /// create and issue prs | 39 | /// send a PR / patch / patch set via nostr events |
| 40 | Prs(sub_commands::prs::SubCommandArgs), | 40 | Send(sub_commands::send::SubCommandArgs), |
| 41 | /// list open PRs / patches / patch sets and pull / apply them a branch | ||
| 42 | List(sub_commands::list::SubCommandArgs), | ||
| 41 | /// pull latest commits in pr linked to checked out branch | 43 | /// pull latest commits in pr linked to checked out branch |
| 42 | Pull, | 44 | Pull, |
| 43 | /// push commits to current checked out pr branch | 45 | /// push commits to current checked out pr branch |
| @@ -50,7 +52,8 @@ async fn main() -> Result<()> { | |||
| 50 | match &cli.command { | 52 | match &cli.command { |
| 51 | Commands::Login(args) => sub_commands::login::launch(&cli, args).await, | 53 | Commands::Login(args) => sub_commands::login::launch(&cli, args).await, |
| 52 | Commands::Claim(args) => sub_commands::claim::launch(&cli, args).await, | 54 | Commands::Claim(args) => sub_commands::claim::launch(&cli, args).await, |
| 53 | Commands::Prs(args) => sub_commands::prs::launch(&cli, args).await, | 55 | Commands::Send(args) => sub_commands::send::launch(&cli, args).await, |
| 56 | Commands::List(args) => sub_commands::list::launch(&cli, args).await, | ||
| 54 | Commands::Pull => sub_commands::pull::launch().await, | 57 | Commands::Pull => sub_commands::pull::launch().await, |
| 55 | Commands::Push => sub_commands::push::launch(&cli).await, | 58 | Commands::Push => sub_commands::push::launch(&cli).await, |
| 56 | } | 59 | } |