upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/ngit/cli.rs')
-rw-r--r--src/bin/ngit/cli.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs
index e537197..26116be 100644
--- a/src/bin/ngit/cli.rs
+++ b/src/bin/ngit/cli.rs
@@ -5,7 +5,11 @@ use ngit::login::SignerInfo;
5use crate::sub_commands; 5use crate::sub_commands;
6 6
7#[derive(Parser)] 7#[derive(Parser)]
8#[command(author, version, about, long_about = None)] 8#[command(
9 author,
10 version,
11 help_template = "{name} {version}\nnostr plugin for git\n - clone a nostr repository, or add as a remote, by using the url format nostr://pub123/identifier\n - remote branches begining with `pr/` are open PRs from contributors; `ngit list` can be used to view all PRs\n - to open a PR, push a branch with the prefix `pr/` or use `ngit send` for advanced options\n- publish a repository to nostr with `ngit init`\n\n{usage}\n{all-args}"
12)]
9#[command(propagate_version = true)] 13#[command(propagate_version = true)]
10pub struct Cli { 14pub struct Cli {
11 #[command(subcommand)] 15 #[command(subcommand)]