v0.24.0 cli long and short options, http sink viewer and new logo
Test / test (push) Canceled after 0s
Test / e2e (push) Canceled after 0s

This commit is contained in:
lixen committed 2026-10-04 18:28:47 -04:00
1 parent bf410e1225
commit 9e86d7999d
42 files changed
+786 -404

No files matched your search

+9 -6
View File
@@ -235,19 +235,22 @@ lw --quiet # bare flag means true
```
A bare flag is accepted only for a boolean key: `--logging.file.directory
--quiet` fails with `--logging.file.directory needs a value`. Unrecognized flags,
positional words and single-dash arguments are reported on stderr before the
logger exists and are then ignored:
--quiet` fails with `--logging.file.directory needs a value`. Unrecognized `--`
flags and positional words are reported on stderr before the logger exists and
are then ignored:
```
Warning: unrecognized flags ignored: [pipelines.0.name -q]
Warning: unrecognized flags ignored: [nosuch.key]
```
Single-dash options are lw's own ([CLI](cli.md#options)); an unknown one is
an error.
An empty `LOGWISP_<PATH>` variable counts as unset, as the pipeline variables
do.
Array-indexed paths such as `--pipelines.0.name=x` are unrecognized; whole
pipelines have [their own flags](cli.md#pipelines).
An array-indexed path such as `--pipelines.0.name=x` is an error (exit 1);
whole pipelines have [their own flags](cli.md#pipelines).
## Validation