14 lines
215 B
Go
14 lines
215 B
Go
package cmd
|
|
|
|
import (
|
|
"context"
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
func Run(ctx context.Context) {
|
|
if err := root.ExecuteContext(ctx); err != nil {
|
|
logrus.Debugf("cmd.Run: execute with err=%v", err)
|
|
return
|
|
}
|
|
}
|