nkb packs

List the packs this build can offer, with how many values each one holds.

nkb packs [--team-folder <folder>]

What does it print?

One line per pack: its name to type, how many values it holds and its title. Then a line that counts them all, and then where the packs came from. A list drawn from one source looks exactly like a complete one, so every run also says which sources were read and which were not.

$ nkb packs
whitespace                12 values  Whitespace
unicode-text              12 values  Unicode and text
length-bombs              12 values  Length bombs
magic-values              12 values  Magic values
numbers-extreme           12 values  Extreme numbers
dates-impossible          12 values  Impossible dates
export-breakers           12 values  Export breakers
locale-pl                  6 values  Polish locale
filenames-paths           28 values  File names and paths
look-alike-pairs          12 values  Look-alike pairs
emoji-complex             12 values  Complex emoji
encoding-mojibake         11 values  Encoding and mojibake
pasted-from-word          12 values  Pasted from a document
emails-urls               12 values  E-mail addresses and URLs
names-identity            12 values  Names and identity
time-zones                12 values  Time and time zones
currency-separators       12 values  Money and separators
pseudolocalization        10 values  Pseudolocalisation
json-payloads             12 values  JSON request bodies
injections                11 values  Injections  (offensive)
passwords                 17 values  Passwords
search-queries            17 values  Search queries

22 of 22 packs loaded, 280 values.
Read these pack sources: built-in.
Not read: team - the settings file has no key for this folder yet, so it cannot be named.
Not read: own - the settings file has no key for this folder yet, so it cannot be named.

The name in the first column is what the other commands take: nkb show whitespace, nkb emit magic-values. The packs shows every one of them with every value.

Options

--team-folder <folder>

Read the team's packs from this folder instead of the one the settings file names. A relative path is read from the current folder

-h, --help

Show this help and exit with 0

Exit codes

This command's help names no exit codes of its own. The numbers mean the same for every command: Exit codes

The help, as the program prints it

What nkb packs --help prints, from nkb 0.4.0.

nkb packs - list the packs this build can offer

Usage:
  nkb packs [--team-folder <folder>]

Packs come from three places: the ones built in, the team folder (from
--team-folder or the settings file) and your own folder beside the
settings file. A pack in a folder is used instead of a built-in pack of
the same name, and an own pack instead of a team pack.

Every run also states which pack sources were read and which were not,
because a list drawn from one source looks exactly like a complete one.

Options:
      --team-folder <folder>  Read the team's packs from this folder instead
                 of the one the settings file names. A relative path is
                 read from the current folder
  -h, --help     Show this help and exit with 0