nkb show

Wypisuje jedną paczkę w całości, każdą wartość z tym, co psuje, i z tym, co robi poprawna aplikacja.

nkb show <pack> [--team-folder <folder>]

Co wypisuje?

Nazwę paczki, jej opis, wersję i licencję, a potem każdą wartość w kolejności, w jakiej spotyka je tester. Wartości są wypisane w postaci escapowanej, bo to jedyna czytelna postać wartości złożonej ze znaków, których nikt nie zobaczy: spacja na końcu to \u0020, a nie puste miejsce na końcu wiersza.

$ nkb show whitespace
whitespace - Whitespace
Characters that take up space, or claim to, and are impossible to see in a form.
version 1.0, updated 2026-09-07, CC-BY-4.0, fields: any

  trailing-space
    Trailing space
    value    Kowalski\u0020
    size     9 code points, 9 bytes
    breaks   Login and e-mail comparisons differ between browser and server; the account is created but cannot be found.
    expect   Trimmed everywhere or preserved everywhere - never one on sign-up and the other on sign-in.

Wartość zbyt długa, żeby ją wypisać, na przykład 65 535 znaków, jest w paczce zapisana jako przepis i show wypisuje przepis, a nie wartość. Żeby dostać samą wartość, użyj nkb emit.

Opcje

--team-folder <folder>

Czyta paczki zespołu z tego folderu zamiast z folderu wskazanego w pliku ustawień. Ścieżka względna jest liczona od bieżącego folderu

-h, --help

Pokazuje tę pomoc i kończy kodem 0

Kody wyjścia

Pomoc tego polecenia nie wymienia własnych kodów wyjścia. Liczby znaczą to samo w każdym poleceniu: Kody wyjścia

Pomoc, tak jak wypisuje ją program

Co wypisuje nkb show --help (nkb 0.4.0).

nkb show - print one pack in full

Usage:
  nkb show <pack> [--team-folder <folder>]

Values are printed ESCAPED, which is the only readable form for a value
made of characters nobody can see. A generated value is printed as its
recipe and is never expanded here. The first line says where the pack
comes from when it is not built in.

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.

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