Core

/app/cmd/run.go (240 B)

 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package cmd

import (
"{{{ .Package }}}/app"
"{{{ .Package }}}/app/util"
)

func Run(bi *app.BuildInfo) (util.Logger, error) {
_buildInfo = bi

if err := rootCmd().Execute(); err != nil {
return _logger, err
}
return _logger, nil
}