add default table presenter

This commit is contained in:
Alex Goodman
2020-07-23 21:48:12 -04:00
parent 0a0bc68e95
commit 32071b0bf1
12 changed files with 162 additions and 1 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ func setGlobalCliOptions() {
// output & formatting options
flag = "output"
rootCmd.Flags().StringP(
flag, "o", presenter.TextPresenter.String(),
flag, "o", presenter.TablePresenter.String(),
fmt.Sprintf("report output formatter, options=%v", presenter.Options),
)
if err := viper.BindPFlag(flag, rootCmd.Flags().Lookup(flag)); err != nil {