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
Signed-off-by: Surya Prakash <[email protected]>
- created a new boolean flag `--yes'
Signed-off-by: Surya Prakash <[email protected]>
fix: required changes
Signed-off-by: Surya Prakash <[email protected]>
- added intutive help message for the `--yes' flag
- added a check with `cmd.Flags().Changed()`
- changed the variable name from `ttyValue` to `yesValue` for better
understanding
feat: added a check usage of --yes && --tty
Signed-off-by: Surya Prakash <[email protected]>
fix: removed space from deprecated.md
// TODO: "survey" does not support using cygwin terminal on windows yet
70
70
rootCmd.PersistentFlags().Bool("tty", isatty.IsTerminal(os.Stdout.Fd()), "Enable TUI interactions such as opening an editor. Defaults to true when stdout is a terminal. Set to false for automation.")
71
+
rootCmd.PersistentFlags().BoolP("yes", "y", isatty.IsTerminal(os.Stdout.Fd()), "Alias of --tty=false")
0 commit comments