Configuration And Output¶
Goal¶
Treat runtime state and output format as explicit choices. That is where Bijux becomes predictable in scripts and repeatable across machines.
flowchart TD
A[Flags] --> D[Resolved runtime behavior]
B[Environment] --> D
C[Config] --> D
D --> E[Command result]
E --> F[text]
E --> G[json]
E --> H[yaml] This diagram shows where configuration actually takes effect. Flags, environment, and config are resolved into one runtime behavior first, and only then does the command result get rendered as text, JSON, or YAML.
flowchart LR
A[config list] --> B[Inspect state]
C[config set] --> D[Change one value]
E[config export/load] --> F[Move state between environments] The second diagram maps the common config actions to their practical use: inspection, one-off mutation, and file-based transfer between environments.
Common Configuration Commands¶
bijux config list
bijux config get KEY
bijux config set KEY=VALUE
bijux config unset KEY
bijux config export ./bijux.env
bijux config load ./bijux.env
For file handoff, both export and load return structured confirmation when you request JSON or YAML:
config export PATH --format json --no-prettyreportsstatus,file, andfile_formatconfig load PATH --format json --no-prettyreportsstatusandfile
Output Rule¶
For automation, prefer:
For interactive reading, YAML can be useful:
Plain text is also a supported format when you want human-readable output without JSON or YAML structure:
Practical Guidance¶
- use
config listto see the current effective state quickly - use
export PATHandload PATHwhen you need file-based handoff - use
jsonfor scripts and CI - check exit codes together with structured output
Precedence Example¶
If more than one source defines a value, the runtime resolves it in a fixed order:
Expected behavior:
- the CLI flag wins over the environment
- the environment wins over config
- defaults apply only when no other source provides a value
This is why explicit flags are the safest choice for automation and CI.
Honest Limit¶
Configuration helps control behavior, but it does not override unsupported workflows or make conflicting installs safe. Use doctor when behavior still looks wrong.
Read Next¶
Continue to Plugins And Extensions.