CLI command
probierz config set
Set one key on this host.
Invocation#
probierz config set <KEY> <VALUE>Required inputs and options#
<KEY>is a keyconfig listnames;<VALUE>is of its type: a directory, one of the words it lists, an amount (a number of zero or more), a count (a whole number of one or more:repair.rounds,author.rounds,durations.slow-seconds,status-page.alarm-daysandalerts.escalate-minutes), or a name with no spaces or control characters (alerts.escalate-to,alerts.escalate-from,alerts.escalate-organization).
Output and state effects#
Writes config.json whole through a private temporary file renamed into place, so a reader never sees half a file, and prints the key with its new value.
Exact refusals#
- An unknown key, or a value that is not of the key's type, is refused before anything is written.
- A file that cannot be created, written, synced or renamed into place is refused naming the step and the cause; a temporary file that could not be removed is named too.
Source snapshot#
Generated from the Rust binaries at revision 99a74945a3598a8d73b6c6cbe5aae4f283becea3 of Probierz's private source repository.
Combined help SHA-256: 77529678a61237f774b59e76df0d1907cb749ef5da56d2ed913b040793b7d30b; binary SHA-256: be9e0eaff0e6ea50403a0c6f6d467697a4eac676f9523b8dc13a596d2b5526c5.