feat(log): add basic support for logging output

This commit is contained in:
2022-03-21 22:10:21 +00:00
parent 5fcb2b52ab
commit 73f93f8e0b
10 changed files with 119 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ func NewExec(mgr *manager.Manager) (*cobra.Command, error) {
DisableFlagsInUseLine: true,
Hidden: true,
ValidArgsFunction: execValidArgs(mgr),
RunE: execRunE(mgr),
RunE: WithPrettyLogging(execRunE(mgr)),
}
return cmd, nil