@@ -34,7 +34,7 @@ pub struct CloseArgs {
|
|||||||
/// 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 opened issue id to close it
|
/// The open issue id to close it
|
||||||
issue_id: NostrEvent,
|
issue_id: NostrEvent,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ impl CommandRunner for ReopenArgs {
|
|||||||
|issue_status| {
|
|issue_status| {
|
||||||
if issue_status.is_open() {
|
if issue_status.is_open() {
|
||||||
return Err(N34Error::InvalidStatus(
|
return Err(N34Error::InvalidStatus(
|
||||||
"You can't reopen an opened issue".to_owned(),
|
"You can't reopen an open issue".to_owned(),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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 opened issue id to resolve it
|
/// The open issue id to resolve it
|
||||||
issue_id: NostrEvent,
|
issue_id: NostrEvent,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user