Log error & move TODO
This commit is contained in:
parent
98b2292955
commit
622f74b89f
@ -179,12 +179,7 @@ func init() {
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
if err := rootCmd.Execute(); err != nil {
|
if err := rootCmd.Execute(); err != nil {
|
||||||
panic(err)
|
log.Err(err).Msg("")
|
||||||
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Todo:
|
|
||||||
// Clean up main.go
|
|
||||||
// Fix warning logs
|
|
||||||
// Fix wildcard log (Separate the main, use a function instead)
|
|
||||||
// Complete all options
|
|
||||||
|
Loading…
Reference in New Issue
Block a user