1
0
mirror of https://gitea.com/Sirherobrine23/tea.git synced 2024-06-30 17:44:09 -03:00
tea/cmd
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: https://gitea.com/gitea/tea/pulls/54
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-03-06 03:43:28 +00:00
..
config.go Minor improvements to command-line language (#66) 2019-11-03 20:34:41 +00:00
flags.go add tea times command (#54) 2020-03-06 03:43:28 +00:00
issues.go add tea times command (#54) 2020-03-06 03:43:28 +00:00
labels_test.go Add labels commands (#36) 2019-10-19 10:54:16 +00:00
labels.go add tea times command (#54) 2020-03-06 03:43:28 +00:00
log.go Minor improvements to command-line language (#66) 2019-11-03 20:34:41 +00:00
login.go add tea times command (#54) 2020-03-06 03:43:28 +00:00
logout.go add tea times command (#54) 2020-03-06 03:43:28 +00:00
pulls.go chore(cli): upgrade urfave/cli to v2 version (#85) 2020-01-04 17:44:25 +00:00
releases.go add tea times command (#54) 2020-03-06 03:43:28 +00:00
repos.go chore(cli): upgrade urfave/cli to v2 version (#85) 2020-01-04 17:44:25 +00:00
times.go add tea times command (#54) 2020-03-06 03:43:28 +00:00