Norwin 897e4ce3c1 add `tea times` command (#54)
Merge branch 'master' into 50-cmd-times

labels: fix refactor bug

fixup! use version check implemented in SDK instead

add subcmds: `tea times (delete|reset)`

fixes #87
fixes #88

times: reword help

use version check implemented in SDK instead

make fmt

Check gitea server version for times endpoint

refactor times.go

dont print TrackedTime ID

print username & issue index instead of IDs

switch to urface/cli/v2

vendor araddon/dateparse

use araddon/dateparse for arbitrary date inputs

add --from, --until flags

allow filtering by issue index

make app name lower case

to make the help texts consistent with the binary name

add --total flag

implement `tea times add`

add `tea times` subcommand

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Norwin Roosen <git@nroo.de>
Reviewed-on: gitea/tea#54
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-03-06 03:43:28 +00:00
code.gitea.io/sdk/gitea bump code.gitea.io/sdk/gitea from untaged to 0.11.0 (#92) 2020-02-07 13:53:15 +00:00
github.com add `tea times` command (#54) 2020-03-06 03:43:28 +00:00
golang.org/x changed git config determination to go-git (#41) [continue #45] (#62) 2019-10-28 21:10:20 +00:00
gopkg.in [Vendor] Update stretchr/testify v1.3.0 -> v1.4.0 (#83) 2020-01-04 02:49:49 +00:00
modules.txt add `tea times` command (#54) 2020-03-06 03:43:28 +00:00