feat: Enter repository as nip5
For example, `4rs.nl/n34` and `_@4rs.nl/n34` Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
@@ -39,10 +39,11 @@ use crate::{
|
||||
)
|
||||
)]
|
||||
pub struct NewArgs {
|
||||
/// Repository address in `naddr` format.
|
||||
/// Repository address in `naddr` format or `<nip5>/repo_id`. e.g.
|
||||
/// `4rs.nl/n34` and `_@4rs.nl/n34`
|
||||
///
|
||||
/// If not provided, `n34` will look for a `nostr-address` file.
|
||||
#[arg(short, long, value_parser = parsers::repo_naddr)]
|
||||
/// If not provided, `n34` will look for the `nostr-address` file.
|
||||
#[arg(value_name = "NADDR-OR-NIP05", long = "repo", value_parser = parsers::repo_naddr)]
|
||||
naddr: Option<Nip19Coordinate>,
|
||||
/// Markdown content for the issue. Cannot be used together with the
|
||||
/// `--editor` flag.
|
||||
|
||||
Reference in New Issue
Block a user