Commit Graph

13 Commits

Author SHA1 Message Date
Andrew Somerville b3723c7b63 wrap token comparisons in a function, proliferate it virtually everywhere apk-token was, and fix some related tab/space issues 2021-11-21 01:21:26 -05:00
Rodney Lorrimar fedc66614f Add authentication-method: bearer-token 2021-08-03 13:02:38 +08:00
Mike Pountney 27f57b2bbe Switch over to using github.com/go-jira/jira, from gopkg.in
There should be no reason to use gopkg.in versioned imports now that
we're using go modules. I think, IANAE.

gopkg.in kind of gets in the way of modules, as it only pulls over
tagged releases from github.com -- this then means that you need to use
go modules 'replace' syntax in the go.mod to use a non-versioned commit
or branch. This is feasible, but kind of ugly.

go modules defaults to pulling the latest version, so the default
behavior is the same as when pulling go-jira.v1 from gopkg.in.
2019-09-14 21:31:11 -07:00
Cory Bennett 9ebd2cd64e fix IsTerminal usage for windows 2018-05-24 00:23:15 -07:00
Cory Bennett 09a61c3ea1 only prompt on logout if stdin and stdout are terminals 2018-04-15 17:15:48 -07:00
Cory Bennett 64ce3812a6 only prompt on logout if stdin is an active terminal 2018-04-15 17:07:01 -07:00
Cory Bennett bd3cf994b8 [#160] allow jira logout to delete your api-token from keychain 2018-04-03 09:21:52 -07:00
Cory Bennett edb06621f8 [#148] [#149] add support for api token based authentication 2018-03-08 10:58:04 -08:00
Brian Lachniet fd399d817e Fix typo in 'logout' command help 2017-10-28 11:04:02 -04: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 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