docs: Fix status command docs

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-08-02 09:14:21 +00:00
parent bd3ba1bdbf
commit 78113c7402
5 changed files with 5 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
**Usage:** **Usage:**
``` ```
Publish information about a git repository to Nostr for collaboration and feedback. Can also be used to update an existing repository's details Broadcast and update a git repository
Usage: n34 repo announce [OPTIONS] --id <REPO_ID> Usage: n34 repo announce [OPTIONS] --id <REPO_ID>

View File

@@ -54,7 +54,7 @@ pub enum IssueSubcommands {
Reopen(ReopenArgs), Reopen(ReopenArgs),
/// Closes an open issue. /// Closes an open issue.
Close(CloseArgs), Close(CloseArgs),
/// Resolves an open issue. /// Resolves an issue.
Resolve(ResolveArgs), Resolve(ResolveArgs),
/// List the repositories issues. /// List the repositories issues.
List(ListArgs), List(ListArgs),

View File

@@ -34,7 +34,7 @@ pub struct ResolveArgs {
/// If omitted, looks for a `nostr-address` file. /// If omitted, looks for a `nostr-address` file.
#[arg(value_name = "NADDR-NIP05-OR-SET", long = "repo")] #[arg(value_name = "NADDR-NIP05-OR-SET", long = "repo")]
naddrs: Option<Vec<NaddrOrSet>>, naddrs: Option<Vec<NaddrOrSet>>,
/// The open issue id to resolve it /// The issue id to resolve it
issue_id: NostrEvent, issue_id: NostrEvent,
} }

View File

@@ -74,7 +74,7 @@ pub enum PatchSubcommands {
Fetch(FetchArgs), Fetch(FetchArgs),
/// Closes an open or drafted patch. /// Closes an open or drafted patch.
Close(CloseArgs), Close(CloseArgs),
/// Converts the closed or open patch to draft state. /// Converts an open patch to draft state.
Draft(DraftArgs), Draft(DraftArgs),
/// Reopens a closed or drafted patch. /// Reopens a closed or drafted patch.
Reopen(ReopenArgs), Reopen(ReopenArgs),

View File

@@ -30,9 +30,7 @@ use crate::error::N34Result;
pub enum RepoSubcommands { pub enum RepoSubcommands {
/// View details of a nostr git repository /// View details of a nostr git repository
View(ViewArgs), View(ViewArgs),
/// Publish information about a git repository to Nostr for collaboration /// Broadcast and update a git repository
/// and feedback. Can also be used to update an existing repository's
/// details.
Announce(AnnounceArgs), Announce(AnnounceArgs),
} }