Jeden/Docs

CLI command

jeden gallery

Render the TUI component gallery under the effective theme or every compiled-in preset.

Exact invocation#

Shell
jeden gallery [--theme NAME|--all] [--color]

Inputs and options#

  • Optional: --theme NAME for one preset, --all for every preset, and --color to force ANSI color output.
  • With no theme option, the currently effective theme is used.

Output and state effect#

Prints the status line, message roles, the tabbed model picker, a confirmation, the welcome panel and a QR code, drawn at the terminal's own width and height. The status line shows the working directory's real git branch and uncommitted count; a link the QR encoder cannot draw is shown with the encoder's reason. Temporary theme environment changes are restored before return.

Refusals and boundaries#

  • An unknown requested theme is refused as unknown theme `NAME`; bundled presets: ....
  • --theme without a name is refused as --theme needs the name of a preset.
  • Run where no terminal reports its size, it is refused as jeden gallery draws at the terminal's size, so it runs in a terminal: ... with the terminal's error.
  • A command line of the wrong form (an unknown command or option, a missing, unexpected or invalid argument, a missing confirmation) prints the error and the usage and exits 2; a refusal that retrying unchanged can help (a dependency down or not answering, a rate limit) exits 69; any other refusal or failure exits 1. A refusal a functionality declares ends with fix: … and cause: <operation>.<cause>, and jeden errors show <operation> lists every cause of that functionality.