gitea-tea/modules
Norwin a948fd7e10 Refactor error handling (#308)
use fmt instead of log

log.Fatal -> return err

set non-zero exit code on error

print to default err log

cleanup

fix vet

Co-authored-by: Norwin Roosen <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/tea/pulls/308
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: 6543 <6543@obermui.de>
Co-Authored-By: Norwin <noerw@noreply.gitea.io>
Co-Committed-By: Norwin <noerw@noreply.gitea.io>
2020-12-17 00:18:10 +08:00
..
config replace flag globals, require context for commands (#291) 2020-12-16 01:38:22 +08:00
context replace flag globals, require context for commands (#291) 2020-12-16 01:38:22 +08:00
git Improve ssh handling (#277) 2020-12-11 21:42:41 +08:00
interact Add interactive mode for `tea issue create` (#302) 2020-12-15 04:05:31 +08:00
print replace flag globals, require context for commands (#291) 2020-12-16 01:38:22 +08:00
task Refactor error handling (#308) 2020-12-17 00:18:10 +08:00
utils rewrote config file path search (#219) 2020-10-06 13:06:47 +00:00