return errors to main()

This commit is contained in:
2020-03-29 00:08:17 -05:00
parent 6b033f10de
commit 3a6ee185fb
7 changed files with 26 additions and 31 deletions

View File

@@ -25,7 +25,7 @@ type Flags struct {
type Command struct {
Name string
Func func(CmdArgs) int
Func func(CmdArgs) (int, error)
Flags *flag.FlagSet
}