Cory Bennett
7ab6c22751
allow login prompt to be interrupted
2017-09-03 18:57:08 -07:00
Cory Bennett
bccf09f83a
fmt -> log typo
2017-09-03 01:02:16 -07:00
Cory Bennett
e72479ca2a
make ~/.jira.d directory if not already present
2017-09-03 00:58:56 -07:00
Cory Bennett
e5dd3a7acf
use go 1.8
2017-09-03 00:54:50 -07:00
Cory Bennett
e04b506c58
fix go vet
2017-09-03 00:52:11 -07:00
Cory Bennett
ba35f55a48
fix tests
2017-09-03 00:40:43 -07:00
Cory Bennett
dc021818bb
add OK printf
2017-09-03 00:40:08 -07:00
Cory Bennett
b120c0ba10
change --method to use -M for backwards compat
2017-09-03 00:39:28 -07:00
Cory Bennett
2638396606
add resolution to dup'd issues when necessary
2017-09-03 00:38:37 -07:00
Cory Bennett
ad1a62a88d
call correct function for labels remove|set commands
2017-09-02 19:54:18 -07:00
Cory Bennett
4b60313d32
data argument is optional (for GET and DELETE requests)
2017-09-02 19:53:51 -07:00
Cory Bennett
84119a2111
fix usage, overrides not serialized correctly
2017-09-02 19:53:25 -07:00
Cory Bennett
fa4ac258d0
fix jira ISSUE-123 command line parsing
2017-09-02 18:04:53 -07:00
Cory Bennett
aed952b59e
add logger object to jiracmd
2017-09-02 14:09:49 -07:00
Cory Bennett
979da1f3a5
refactor for GlobalOptions and CommonOptions
2017-09-02 14:05:27 -07:00
Cory Bennett
65891e7b3b
update for testing
2017-09-02 14:04:49 -07:00
Cory Bennett
0a5510b231
move commands from jiracli package to jiracmd package
2017-09-02 09:14:54 -07:00
Cory Bennett
de1460ddc9
use cliError for all cli errors
2017-09-01 23:32:40 -07:00
Cory Bennett
fb1bfeb8f5
use jiracli.Error object to disambiguate between kingpin errors and cli errors
2017-09-01 23:30:59 -07:00
Cory Bennett
fce78dea68
use correct variables
2017-09-01 23:29:54 -07:00
Cory Bennett
f54e619194
fix OK output
2017-09-01 23:29:47 -07:00
Cory Bennett
f38a0b888a
udpate oreo for request replays
2017-08-31 22:58:55 -07:00
Cory Bennett
560998253d
fix bogus logic error
2017-08-31 22:58:26 -07:00
Cory Bennett
36c26c523a
fix stray newline for list table template
2017-08-31 22:57:57 -07:00
Cory Bennett
0f12ba6ba5
add --saveFile for create
2017-08-31 22:57:31 -07:00
Cory Bennett
af45280d9e
remove accidentally commited binary
2017-08-31 16:15:21 -07:00
Cory Bennett
3942f6f5d6
fix dynamic table output when not on tty
2017-08-31 16:00:45 -07:00
Cory Bennett
da9a2b2b90
when using --verbose set the JIRA_DEBUG environment variable so custom-commands can auto enable verbose output
2017-08-31 15:09:32 -07:00
Cory Bennett
ec0858b09e
make jira ISSUE-123 usage call jira view ISSUE-123
2017-08-31 15:09:01 -07:00
Cory Bennett
301a61f2f1
integrate kingpeon library to allow for custom commands via configuration
2017-08-31 15:08:24 -07:00
Cory Bennett
b4d7845105
skip editing by default for the transition alias commands (ie done, progress, etc)
2017-08-31 15:04:58 -07:00
Cory Bennett
2a081dd767
use terminal width to adjust list table output
2017-08-30 18:31:49 -07:00
Cory Bennett
f52d2c472a
set yaml/json tags for option structs
2017-08-27 20:46:25 -07:00
Cory Bennett
c89f11d5b5
update generated data files
2017-08-27 19:41:49 -07:00
Cory Bennett
21add544dc
automatically login when anonymous user detected
2017-08-27 13:55:48 -07:00
Cory Bennett
1f345cedee
refactor trivial objects in favor of arguments to static functions
2017-08-27 00:47:11 -07:00
Cory Bennett
b68c44384f
merge in edit template changes from v1 branch #105
2017-08-25 22:07:56 -07:00
Cory Bennett
5716a7cb59
set JIRA_OPERATION when parsing configs. Use figtree config types for options to make defaulting work
2017-08-24 16:57:21 -07:00
Cory Bennett
5d6170a81a
add --browse option to more commands
2017-08-24 12:39:11 -07:00
Cory Bennett
89e3306254
set defaults in structs rather than kingpin so they can be overriden by configs
2017-08-24 10:59:58 -07:00
Cory Bennett
b235dcc384
add better handing for usage error
2017-08-21 22:54:34 -05:00
Cory Bennett
56b1c9df04
adding request command, removing dead code
2017-08-21 09:33:57 -05:00
Cory Bennett
a1c28495a7
adding Do required for request language
2017-08-21 09:33:07 -05:00
Cory Bennett
a91b9d56b0
add browse command and implement -b option for most operations
2017-08-20 23:19:43 -05:00
Cory Bennett
f32cc7079c
fix IssueAssign
2017-08-20 23:08:45 -05:00
Cory Bennett
19d8686c01
merge in update for upstream changes #104
2017-08-20 22:51:32 -05:00
coryb
000b82fa19
Merge pull request #104 from wrouesnel/keyring-update
...
Handle keyring.ErrNotFound error instead of panicing.
2017-08-20 20:49:58 -07:00
Will Rouesnel
07854d6be5
Handle keyring.ErrNotFound error instead of panicing.
...
github.com/tmc/keyring returns keyring.ErrNotFound instead of a blank password
in newer libraries. Handle this case properly by nulling the error, to give the
user a chance to set a new password.
2017-08-21 13:24:10 +10:00
Cory Bennett
abaad5611d
add export-templates command
2017-08-20 22:12:55 -05:00
Cory Bennett
da39323adf
add issuetypes command
2017-08-19 23:55:38 -05:00