//GetBool a flag with type of boolean
GetBool a flag with type of boolean
// GetBool a flag with type of boolean
func GetBool(name string, cmd *cobra.Command) bool {
	v, err := cmd.Flags().GetBool(name)
	if err != nil {
		fmt.Printf("Failed to get %v flag ", name)
	}
	return v
}
func GetBool ( name string , cmd * cobra . Command ) bool { v , err := cmd . Flags ( ) . GetBool ( name ) if err != nil { fmt . Printf ( " " , name ) } return v }
GetBool a flag with type of boolean
GetBool a flag with type of boolean