Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hideInheritedFlags (0.23 sec)

  1. istioctl/cmd/root.go

    	analyzeCmd := analyze.Analyze(ctx)
    	hideInheritedFlags(analyzeCmd, cli.FlagIstioNamespace)
    	rootCmd.AddCommand(analyzeCmd)
    
    	dashboardCmd := dashboard.Dashboard(ctx)
    	hideInheritedFlags(dashboardCmd, cli.FlagNamespace, cli.FlagIstioNamespace)
    	rootCmd.AddCommand(dashboardCmd)
    
    	manifestCmd := mesh.ManifestCmd(ctx)
    	hideInheritedFlags(manifestCmd, cli.FlagNamespace, cli.FlagIstioNamespace, FlagCharts)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. istioctl/cmd/root_test.go

    	checkHelpForFlag(t, got, parentFlag1, true)
    	checkHelpForFlag(t, got, parentFlag2, true)
    	checkHelpForFlag(t, got, childFlag2, true)
    
    	// verify the hidden parent flag is not visible in help text
    	hideInheritedFlags(child, parentFlag1, parentFlag2)
    	if err := parent.Execute(); err != nil {
    		t.Fatal(err)
    	}
    	got = out.String()
    	out.Reset()
    	checkHelpForFlag(t, got, parentFlag0, true)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 15 17:59:55 GMT 2021
    - 2.4K bytes
    - Viewed (0)
Back to top