add tea times command #54

Merged
lunny merged 20 commits from noerw/tea:50-cmd-times into master 2020-03-06 03:43:34 +00:00

20 Commits

Author SHA1 Message Date
df538653fd Merge branch 'master' into 50-cmd-times
All checks were successful
continuous-integration/drone/pr Build is passing
2020-03-06 00:50:46 +00:00
8f24b5c785 labels: fix refactor bug
Some checks failed
continuous-integration/drone/pr Build is failing
2020-03-05 10:05:21 +01:00
d63ec54d78 fixup! use version check implemented in SDK instead
Some checks failed
continuous-integration/drone/pr Build is failing
2020-02-28 17:21:30 +01:00
4bb7c9b2c3 add subcmds: tea times (delete|reset)
Some checks failed
continuous-integration/drone/pr Build is failing
fixes #87
fixes #88
2020-02-28 17:13:25 +01:00
8f15abba15 times: reword help 2020-02-28 17:13:25 +01:00
e89ddfa878 use version check implemented in SDK instead 2020-02-28 17:13:25 +01:00
d3b9aa5e1a make fmt 2020-02-28 17:13:25 +01:00
4340f117ac Check gitea server version for times endpoint 2020-02-28 16:02:22 +01:00
aecc29b82e refactor times.go 2020-02-28 16:02:22 +01:00
9f6901429a dont print TrackedTime ID 2020-02-28 16:02:22 +01:00
54d587e881 print username & issue index instead of IDs 2020-02-28 16:02:22 +01:00
d889f61a68 switch to urface/cli/v2 2020-02-28 16:02:10 +01:00
ab9197b941 vendor araddon/dateparse 2020-02-28 16:01:39 +01:00
2984ce9588 use araddon/dateparse for arbitrary date inputs 2020-02-28 16:01:39 +01:00
ddaa34e357 add --from, --until flags 2020-02-28 16:01:39 +01:00
600a7aa1de allow filtering by issue index 2020-02-28 16:01:39 +01:00
58be920759 make app name lower case
to make the help texts consistent with the binary name
2020-02-28 16:01:39 +01:00
8ff7ae5b9c add --total flag 2020-02-28 16:01:39 +01:00
1eadf37b2b implement tea times add 2020-02-28 16:01:39 +01:00
582d2685e0 add tea times subcommand 2020-02-28 16:01:39 +01:00