Console: bugs in API key commands
Add:
-
expiration should be optional argument when description is specified - missing -eis OK -
unhandled exception when the date is invalid - e.g. 2020-13-01T00:00:00Z+01:00' -
empty string is an invalid date -
missing parameter for API key output without formatting
Delete:
-
when nonexistant ID is specified in argument, the command should exits with error message and return code
Edit:
-
expiration should be optional argument when description is specified and vice versa - missing -eXOR missing-dis OK -
unhandled exception when the date is invalid - e.g. 2020-13-01T00:00:00Z+01:00' -
empty string is an invalid date
Edited by Karel Hanák