You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
301 B

package main
import (
"fmt"
"os"
)
func run() error {
app := setupApplication()
return app.Run(os.Args)
}
func setupApplication() *Application {
a := &Application{}
a.commands()
return a
}
func main() {
if err := run(); err != nil {
fmt.Fprintf(os.Stderr, "%s\n", err)
os.Exit(1)
}
}