CLI flags
Global flags
- timeout - default value is 60 seconds, and can be increased in case of
Error: context deadline exceeded
for large projects. - loglevel - set the log level for the program. The default value is "
info
". - endpoint - set the listen.dev endpoint that emits the verdicts. The default value is "http://127.0.0.1:3000 (opens in a new tab)".
- config - specify the configuration file for lstn. The default is
$HOME/.lstn.yaml
.
--config string config file (default is $HOME/.lstn.yaml)
--endpoint string the listen.dev endpoint emitting the verdicts (default "http://127.0.0.1:3000")
--loglevel string log level (default "info")
--timeout int timeout in seconds (default 60)
Command specific flags
help
- show help for a specific command or lstn in general--json
- output the verdicts (if any) in JSON format.-q / --jq
- filter the (JSON) output of verdicts output using the built injq
utility
-h, --help help for <command>
-q, --jq string filter the output using a jq expression
--json output the verdicts (if any) in JSON form