Files
n34/docs/sets/new.md
Awiteb bd3ba1bdbf docs: n34 book
Signed-off-by: Awiteb <a@4rs.nl>
2025-08-01 20:32:48 +00:00

860 B

Create a Set

n34 sets new command

Usage:

Create a new set

Usage: n34 sets new [OPTIONS] <NAME>

Arguments:
  <NAME>  Unique name for the set

Options:
      --set-relay <RELAYS>         Optional relay to add it to the set, either as URL or set name to extract its relays. [aliases: `--sr`]
      --repo <NADDR-NIP05-OR-SET>  Repository address in `naddr` format (`naddr1...`), NIP-05 format (`4rs.nl/n34` or `_@4rs.nl/n34`), or a set name like `kernel`

Each set requires a unique name, provided as the final argument to the command. Use the --set-relays/--sr option to specify the relays for the new set; this can be a relay URL or the name of an existing set whose relays you wish to use. To add repositories, use the --repo option. Check passing repositories format.