1
1
mirror of https://gitea.com/gitea/tea synced 2024-11-23 00:12:05 +01:00
tea/modules/print
Norwin dc67630b64 replace flag globals, require context for commands (#291)
introduce TeaContext

clean up InitCommand

move GetListOptions to TeaContext

ensure context for each command

so we fail early with a good error message instead of "Error: 404" etc

make linter happy

Merge branch 'master' into refactor-global-flags

move TeaContext & InitCommand to modules/context

Merge branch 'master' into refactor-global-flags

CI.restart()

Merge branch 'master' into refactor-global-flags

Merge branch 'master' into refactor-global-flags

Co-authored-by: Norwin Roosen <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/291
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: khmarbaise <khmarbaise@noreply.gitea.io>
Reviewed-by: 6543 <6543@obermui.de>
Co-Authored-By: Norwin <noerw@noreply.gitea.io>
Co-Committed-By: Norwin <noerw@noreply.gitea.io>
2020-12-16 01:38:22 +08:00
..
issue.go Improved list output (#281) 2020-12-10 06:04:36 +08:00
label.go Improved list output (#281) 2020-12-10 06:04:36 +08:00
login.go replace flag globals, require context for commands (#291) 2020-12-16 01:38:22 +08:00
markdown.go Refactor: Move list print functions into print package (#273) 2020-12-08 18:28:54 +08:00
milestone.go Improved list output (#281) 2020-12-10 06:04:36 +08:00
notification.go Improved list output (#281) 2020-12-10 06:04:36 +08:00
organization.go Improved list output (#281) 2020-12-10 06:04:36 +08:00
print.go print times in local timezone (#217) 2020-10-05 12:23:32 +00:00
pull.go Improved list output (#281) 2020-12-10 06:04:36 +08:00
release.go Improved list output (#281) 2020-12-10 06:04:36 +08:00
repo.go Improved list output (#281) 2020-12-10 06:04:36 +08:00
table.go Improved list output (#281) 2020-12-10 06:04:36 +08:00
times.go Improved list output (#281) 2020-12-10 06:04:36 +08:00