- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for BoolVarP (0.1 sec)
-
pkg/collateral/cobra_noagent.go
cmd.Flags().BoolVarP(&all, "all", "", all, "Produce all supported collateral files") cmd.Flags().BoolVarP(&c.EmitMarkdown, "markdown", "", c.EmitMarkdown, "Produce markdown documentation files") cmd.Flags().BoolVarP(&c.EmitManPages, "man", "", c.EmitManPages, "Produce man pages") cmd.Flags().BoolVarP(&c.EmitBashCompletion, "bash", "", c.EmitBashCompletion, "Produce bash completion files")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 03:51:36 UTC 2024 - 2.5K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
fmt.Sprintf("Specify the traffic type %s for the waypoint", sets.SortedList(validTrafficTypes)), ) waypointApplyCmd.PersistentFlags().BoolVarP(&enrollNamespace, "enroll-namespace", "", false, "If set, the namespace will be labeled with the waypoint name") waypointApplyCmd.PersistentFlags().BoolVarP(&overwrite, "overwrite", "", false, "Overwrite the existing Waypoint used by the namespace") waypointDeleteCmd := &cobra.Command{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:33 UTC 2024 - 16.4K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
returnError = FileParseError{} } } return returnError }, } analysisCmd.PersistentFlags().BoolVarP(&listAnalyzers, "list-analyzers", "L", false, "List the analyzers available to run. Suppresses normal execution.") analysisCmd.PersistentFlags().BoolVarP(&useKube, "use-kube", "k", true, "Use live Kubernetes cluster for analysis. Set --use-kube=false to analyze files only.")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 17K bytes - Viewed (0) -
operator/cmd/mesh/manifest-diff.go
renameResources string } func addManifestDiffFlags(cmd *cobra.Command, diffArgs *manifestDiffArgs) { cmd.PersistentFlags().BoolVarP(&diffArgs.compareDir, "directory", "r", false, "Compare directory.") cmd.PersistentFlags().BoolVarP(&diffArgs.verbose, "verbose", "v", false, "Verbose output.") cmd.PersistentFlags().StringVar(&diffArgs.selectResources, "select", "::",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 5.8K bytes - Viewed (0) -
pkg/flag/flag.go
func Bind[T Flaggable](fs *pflag.FlagSet, name, shorthand, usage string, val *T) { switch d := any(val).(type) { case *string: fs.StringVarP(d, name, shorthand, *d, usage) case *bool: fs.BoolVarP(d, name, shorthand, *d, usage) case *time.Duration: fs.DurationVarP(d, name, shorthand, *d, usage) case *uint16: fs.Uint16VarP(d, name, shorthand, *d, usage) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 01 04:37:36 UTC 2023 - 2.1K bytes - Viewed (0) -
tools/bug-report/pkg/bugreport/flags.go
"values and flag settings, with lists being replaced per JSON merge semantics.") // dry run cmd.PersistentFlags().BoolVarP(&args.DryRun, "dry-run", "", false, "Only log commands that would be run, don't fetch or write.") // full secrets cmd.PersistentFlags().BoolVarP(&args.FullSecrets, "full-secrets", "", false, "If set, secret contents are included in output.") // istio namespaces
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Nov 04 12:07:50 UTC 2023 - 7.3K bytes - Viewed (0) -
operator/cmd/mesh/root.go
type RootArgs struct { // DryRun performs all steps except actually applying the manifests or creating output dirs/files. DryRun bool } func addFlags(cmd *cobra.Command, rootArgs *RootArgs) { cmd.PersistentFlags().BoolVarP(&rootArgs.DryRun, "dry-run", "", false, "Console/log output only, make no changes.") } // GetRootCmd returns the root of the cobra command-tree. func GetRootCmd(ctx cli.Context, args []string) *cobra.Command {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
}, } cmd.PersistentFlags().BoolVar(&overwrite, "overwrite", false, overrideHelpStr) cmd.PersistentFlags().StringVarP(&manifestsPath, "manifests", "d", "", util.ManifestsFlagHelpStr) cmd.PersistentFlags().BoolVarP(&skipConfirmation, "skip-confirmation", "y", false, skipConfirmationFlagHelpStr) cmd.PersistentFlags().StringVarP(&revision, "revision", "r", "", revisionHelpStr)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 16.3K bytes - Viewed (0) -
operator/cmd/mesh/uninstall.go
) func addUninstallFlags(cmd *cobra.Command, args *uninstallArgs) { cmd.PersistentFlags().BoolVarP(&args.skipConfirmation, "skip-confirmation", "y", false, skipConfirmationFlagHelpStr) cmd.PersistentFlags().BoolVar(&args.force, "force", false, ForceFlagHelpStr)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 10.4K bytes - Viewed (0) -
pkg/version/cobra.go
if marshaled, err := json.MarshalIndent(&version, "", " "); err == nil { _, _ = fmt.Fprintln(cmd.OutOrStdout(), string(marshaled)) } } return nil }, } cmd.Flags().BoolVarP(&short, "short", "s", false, "Use --short=false to generate full version information") cmd.Flags().StringVarP(&output, "output", "o", "", "One of 'yaml' or 'json'.") if options.GetRemoteVersion != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 6.1K bytes - Viewed (0)