diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 68b0ed6..54ad748 100644 --- a/src/main.rs +++ b/src/main.rs | |||
| @@ -33,7 +33,9 @@ pub struct Cli { | |||
| 33 | enum Commands { | 33 | enum Commands { |
| 34 | /// save encrypted nsec for future use | 34 | /// save encrypted nsec for future use |
| 35 | Login(sub_commands::login::SubCommandArgs), | 35 | Login(sub_commands::login::SubCommandArgs), |
| 36 | /// create and issue Prs | 36 | /// issue repository reference event as a maintainers |
| 37 | Claim(sub_commands::claim::SubCommandArgs), | ||
| 38 | /// create and issue prs | ||
| 37 | Prs(sub_commands::prs::SubCommandArgs), | 39 | Prs(sub_commands::prs::SubCommandArgs), |
| 38 | } | 40 | } |
| 39 | 41 | ||
| @@ -44,6 +46,9 @@ async fn main() -> Result<()> { | |||
| 44 | Commands::Login(args) => { | 46 | Commands::Login(args) => { |
| 45 | futures::executor::block_on(sub_commands::login::launch(&cli, args)) | 47 | futures::executor::block_on(sub_commands::login::launch(&cli, args)) |
| 46 | } | 48 | } |
| 49 | Commands::Claim(args) => { | ||
| 50 | futures::executor::block_on(sub_commands::claim::launch(&cli, args)) | ||
| 51 | } | ||
| 47 | Commands::Prs(args) => futures::executor::block_on(sub_commands::prs::launch(&cli, args)), | 52 | Commands::Prs(args) => futures::executor::block_on(sub_commands::prs::launch(&cli, args)), |
| 48 | } | 53 | } |
| 49 | } | 54 | } |