You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/aspect/configure/configure.go
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,7 @@ Run 'aspect help directives' or see https://github.com/aspect-build/aspect-cli-l
116
116
117
117
viper.SetDefault("configure.index", "all")
118
118
viper.SetDefault("configure.recurse", true)
119
+
viper.SetDefault("configure.progress", false)
119
120
120
121
// TODO: restrict to only valid values (see https://github.com/spf13/pflag/issues/236)
121
122
cmd.Flags().String("mode", "fix", "Method for emitting merged BUILD files.\n\tfix: write generated and merged files to disk\n\tprint: print files to stdout\n\tdiff: print a unified diff")
@@ -124,7 +125,7 @@ Run 'aspect help directives' or see https://github.com/aspect-build/aspect-cli-l
124
125
cmd.Flags().StringSlice("exclude", []string{}, "Files to exclude from BUILD generation")
125
126
cmd.Flags().Bool("watchman", false, "Use the EXPERIMENTAL watchman daemon to watch for changes across 'configure' invocations")
126
127
cmd.Flags().Bool("watch", false, "Use the EXPERIMENTAL watch mode to watch for changes in the workspace and automatically 'configure' when files change")
127
-
cmd.Flags().Bool("progress", false, "Show progress throughout 'configure' invocation")
128
+
cmd.Flags().Bool("progress", viper.GetBool("configure.progress"), "Show progress throughout 'configure' invocation")
0 commit comments