@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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),
|
||||||
|
|||||||
@@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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),
|
||||||
|
|||||||
@@ -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),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user