diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-14 08:54:27 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-02-14 08:54:27 +0000 |
| commit | 62d7f2fb26f2843fa8f7ff8b988bac14e5f756e2 (patch) | |
| tree | a647093fbe3b84fad628345c7514496232f1cf77 /src/main.rs | |
| parent | c0847f928c32adb0b4dfc3b73ee77fa3cdb5ec21 (diff) | |
feat!: move `claim` > `init`
this aligns with gitstr and is more intuative
the idea behind using claim to indicate that it is only for
maintainersto do is valid but its too confusing
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 539d9ff..0e8e847 100644 --- a/src/main.rs +++ b/src/main.rs | |||
| @@ -35,7 +35,7 @@ enum Commands { | |||
| 35 | /// save encrypted nsec for future use | 35 | /// save encrypted nsec for future use |
| 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 | Init(sub_commands::init::SubCommandArgs), |
| 39 | /// send a PR / patch / patch set via nostr events | 39 | /// send a PR / patch / patch set via nostr events |
| 40 | Send(sub_commands::send::SubCommandArgs), | 40 | Send(sub_commands::send::SubCommandArgs), |
| 41 | /// list open PRs / patches / patch sets and pull / apply them a branch | 41 | /// list open PRs / patches / patch sets and pull / apply them a branch |
| @@ -51,7 +51,7 @@ async fn main() -> Result<()> { | |||
| 51 | let cli = Cli::parse(); | 51 | let cli = Cli::parse(); |
| 52 | match &cli.command { | 52 | match &cli.command { |
| 53 | Commands::Login(args) => sub_commands::login::launch(&cli, args).await, | 53 | Commands::Login(args) => sub_commands::login::launch(&cli, args).await, |
| 54 | Commands::Claim(args) => sub_commands::claim::launch(&cli, args).await, | 54 | Commands::Init(args) => sub_commands::init::launch(&cli, args).await, |
| 55 | Commands::Send(args) => sub_commands::send::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, | 56 | Commands::List(args) => sub_commands::list::launch(&cli, args).await, |
| 57 | Commands::Pull => sub_commands::pull::launch().await, | 57 | Commands::Pull => sub_commands::pull::launch().await, |