return custom exit status from missing api key
This commit is contained in:
parent
f88d725219
commit
d4eeedbacc
4 changed files with 56 additions and 21 deletions
2
tests/samples/configs/missing_api_key.cfg
Normal file
2
tests/samples/configs/missing_api_key.cfg
Normal file
|
@ -0,0 +1,2 @@
|
|||
[settings]
|
||||
debug = false
|
|
@ -1,10 +0,0 @@
|
|||
usage: wakatime [-h] [--entity FILE] [--key KEY] [--write] [--plugin PLUGIN]
|
||||
[--time time] [--lineno LINENO] [--cursorpos CURSORPOS]
|
||||
[--entity-type ENTITY_TYPE] [--proxy PROXY]
|
||||
[--project PROJECT] [--alternate-project ALTERNATE_PROJECT]
|
||||
[--alternate-language ALTERNATE_LANGUAGE]
|
||||
[--hostname HOSTNAME] [--disableoffline] [--hidefilenames]
|
||||
[--exclude EXCLUDE] [--include INCLUDE] [--extra-heartbeats]
|
||||
[--logfile LOGFILE] [--apiurl API_URL] [--timeout TIMEOUT]
|
||||
[--config CONFIG] [--verbose] [--version]
|
||||
wakatime: error: Missing api key
|
Loading…
Add table
Add a link
Reference in a new issue