CLI command
jeden completions bash
Generate Jeden completions for bash.
Exact invocation#
jeden completions bashInputs and options#
- Required shell selector:
bash; no output path is accepted because the script is written to stdout.
Output and state effect#
Prints a bash completion program derived from the current usage and slash-command tables; redirect it into the shell's normal completion-loading location.
Refusals and boundaries#
- The functionality is
jeden.completions, read before the script is built, each exit2:shell-missing(completions requires a shell, and the command line ends before one),shell-unknown(Jeden writes completions for bash, zsh and fish, and `<shell>` is none of them) andargument-unexpected(a word after the shell; the script goes to standard output).jeden errors show jeden.completionsprints them with their tests intests/cli/completions.mjs. - 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) exits69; any other refusal or failure exits1. A refusal a functionality declares ends withfix: …andcause: <operation>.<cause>, andjeden errors show <operation>lists every cause of that functionality.