Commit Graph

10 Commits

Author SHA1 Message Date
Daniel Martí 9bcdcc128f don't use ReadAll when decoding JSON
An empty stream isn't valid JSON, so we shouldn't silently ignore it.
2019-05-27 13:09:31 +01:00
Cory Bennett c9b5054cde fix default values to load after parsing configs 2017-10-28 14:23:27 -07:00
Cory Bennett 608e586d1c use --gjq for GJson Query to filter json response data, remove --jq option 2017-09-10 22:48:40 -07:00
Cory Bennett 1d269183c3 add --jq option to run a json query against Jira service response json 2017-09-09 19:02:23 -07:00
Cory Bennett c226077320 add --quiet global option 2017-09-04 18:12:32 -07:00
Cory Bennett c0358eb67c refactor to allow for --insecure and --unixproxy arguments 2017-09-04 17:53:01 -07:00
Cory Bennett b120c0ba10 change --method to use -M for backwards compat 2017-09-03 00:39:28 -07:00
Cory Bennett 4b60313d32 data argument is optional (for GET and DELETE requests) 2017-09-02 19:53:51 -07:00
Cory Bennett 979da1f3a5 refactor for GlobalOptions and CommonOptions 2017-09-02 14:05:27 -07:00
Cory Bennett 0a5510b231 move commands from jiracli package to jiracmd package 2017-09-02 09:14:54 -07:00