upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
-rw-r--r--src/sub_commands/init.rs (renamed from src/sub_commands/claim.rs)0
-rw-r--r--src/sub_commands/mod.rs2
3 files changed, 3 insertions, 3 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,
diff --git a/src/sub_commands/claim.rs b/src/sub_commands/init.rs
index a95021d..a95021d 100644
--- a/src/sub_commands/claim.rs
+++ b/src/sub_commands/init.rs
diff --git a/src/sub_commands/mod.rs b/src/sub_commands/mod.rs
index b16d50f..9f97b7e 100644
--- a/src/sub_commands/mod.rs
+++ b/src/sub_commands/mod.rs
@@ -1,4 +1,4 @@
1pub mod claim; 1pub mod init;
2pub mod list; 2pub mod list;
3pub mod login; 3pub mod login;
4pub mod pull; 4pub mod pull;