@@ -343,25 +343,31 @@ Usage: `devo-api query [OPTIONS]`
343343
344344```
345345Options:
346- -c, --config PATH JSON/YAML File with configuration, you can put all options here
347- -e, --env Use env vars for configuration
348- -a, --address TEXT Endpoint for the api.
349- --key TEXT Key for the api.
350- --secret TEXT Secret for the api.
351- --token TEXT Token auth for query.
352- --jwt TEXT jwt auth for query.
353- -q, --query TEXT Query.
354- --stream / --no-stream Flag for make streaming query or full query with start and end. Default is true
355- --output TEXT File path to store query response if not want stdout
356- -r, --response TEXT The output format. Default is json/simple/compact
357- --from TEXT From date, and time for the query (YYYY-MM-DD hh:mm:ss). For valid formats see lt-common README
358- --to TEXT To date, and time for the query (YYYY-MM-DD hh:mm:ss). For valid formats see lt-common README
359- --help Show this message and exit.
360- --user User for the api.
361- --app_name App Name for the api.
362- --comment Comment for pragma in query
363- --debug/--no-debug For testing purposes
364- --help Show this message and exit.
346+ -c, --config PATH Optional JSON/Yaml File with configuration info.
347+ -e, --env TEXT Use env vars for configuration
348+ -d, --default TEXT Use default file for configuration
349+ -a, --address TEXT Endpoint for the api.
350+ --user TEXT User for the api.
351+ --app_name TEXT Application name for the api.
352+ --comment TEXT Comment for the queries.
353+ --key TEXT Key for the api.
354+ --secret TEXT Secret for the api.
355+ --token TEXT Secret for the api.
356+ --jwt TEXT JWT auth for the api.
357+ -q, --query TEXT Query.
358+ --stream / --no-stream Flag for make streaming query or full query with
359+ start and end. Default is true
360+
361+ --output TEXT File path to store query response if not want stdout
362+ -r, --response TEXT The output format. Default is json/simple/compact
363+ --from TEXT From date. For valid formats see API README. Default
364+ if now - 1 hour
365+
366+ --to TEXT To date. For valid formats see API README
367+ --timeZone TEXT Timezone info. For valid formats see API README
368+ --verify BOOLEAN Verify certificates
369+ --debug / --no-debug For testing purposes
370+ --help Show this message and exit.
365371```
366372
367373A configuration file does not have to have all the necessary keys, you can have
@@ -424,7 +430,13 @@ Priority order:
4244303. Environment vars: if you send key, secrey or token in config file or params cli, this option not be called
4254314. ~/.devo.json or ~/.devo.yaml: if you send key, secrey or token in other way, this option not be called
426432
427- Environment vars are: ` DEVO_API_ADDRESS`, `DEVO_API_KEY`, `DEVO_API_SECRET`, `DEVO_API_USER`.
433+ Environment vars are:
434+ - ` DEVO_API_ADDRESS`
435+ - ` DEVO_API_KEY`
436+ - ` DEVO_API_SECRET`
437+ - ` DEVO_API_USER`
438+ - ` DEVO_API_TOKEN`
439+ - ` DEVO_API_JWT`
428440
429441# # Choosing Fomat
430442The default response format (`response`) is `json`, to change the default value, it can be established directly :
0 commit comments