usage: lokitool test pipeline --config.file=CONFIG.FILE [<flags>] <test-file>...
Run unit tests for Promtail pipeline.
Flags:
-h, --help Show context-sensitive help (also try --help-long and --help-man).
--verbose Enable verbose output.
--config.file=CONFIG.FILE Promtail config file.
Args:
<test-file> The unit test file.
Example:
$ ./lokitool test pipeline --config.file=./examples/test-pipeline/promtail-config.yaml ./examples/test-pipeline/test.yaml
..
========== SUMMARY ===========
All 2 tests have passed