Ze command
Description
Format supplied configuration through the existing formatter. The
answer is formatted configuration text, or the selected check or diff diagnostic.
This command has no file-write option.
Arguments
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
check | flag | no | any value of this type | Report whether formatting is needed. | Report whether formatting would change the supplied bytes, with the same verdict as show config fmt check. |
diff | flag | no | any value of this type | Show what formatting would change. | Show the formatting changes as the same diagnostic hunks as show config fmt diff, using the supplied name as a label. |
content | string | yes | any value of this type | Input bytes in padded base64, at most 195,840 bytes. | Caller-held bytes encoded as padded base64. The whole input is bounded to 195,840 decoded bytes and never recorded in command history or accounting. |
name | string | no | any value of this type | Filename label for diagnostics; no file is opened. | An optional filename label for diagnostics, without a directory or control characters. The default is supplied.conf. No file is opened or written. |