Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 900 for Commands (0.13 sec)

  1. src/cmd/go/internal/base/base.go

    	Flag flag.FlagSet
    
    	// CustomFlags indicates that the command will do its own
    	// flag parsing.
    	CustomFlags bool
    
    	// Commands lists the available commands and help topics.
    	// The order here is the order in which they are printed by 'go help'.
    	// Note that subcommands are in general best avoided.
    	Commands []*Command
    }
    
    var Go = &Command{
    	UsageLine: "go",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/help/help.go

    		base.Exit()
    	}
    
    	if len(cmd.Commands) > 0 {
    		PrintUsage(os.Stdout, cmd)
    	} else {
    		tmpl(os.Stdout, helpTemplate, cmd)
    	}
    	// not exit 2: succeeded at 'go help cmd'.
    	return
    }
    
    var usageTemplate = `{{.Long | trim}}
    
    Usage:
    
    	{{.UsageLine}} <command> [arguments]
    
    The commands are:
    {{range .Commands}}{{if or (.Runnable) .Commands}}
    	{{.Name | printf "%-11s"}} {{.Short}}{{end}}{{end}}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. cmd/main.go

    	commandsTree := trie.NewTrie()
    
    	// registerCommand registers a cli command.
    	registerCommand := func(command cli.Command) {
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    	findClosestCommands := func(command string) []string {
    		var closestCommands []string
    		closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/feature/feature_gate.go

    limitations under the License.
    */
    
    package feature
    
    import (
    	"k8s.io/component-base/featuregate"
    )
    
    var (
    	// DefaultMutableFeatureGate is a mutable version of DefaultFeatureGate.
    	// Only top-level commands/options setup and the k8s.io/component-base/featuregate/testing package should make use of this.
    	// Tests that need to modify feature gates for the duration of their test should use:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/go/main.go

    }
    
    // lookupCmd interprets the initial elements of args
    // to find a command to run (cmd.Runnable() == true)
    // or else a command group that ran out of arguments
    // or had an unknown subcommand (len(cmd.Commands) > 0).
    // It returns that command and the number of elements of args
    // that it took to arrive at that command.
    func lookupCmd(args []string) (cmd *base.Command, used int) {
    	cmd = base.Go
    	for used < len(args) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/mirror/SetMirrorsSampleModifier.java

                return sample;
            }
            List<Command> commands = sample.getCommands();
            List<Command> modifiedCommands = new ArrayList<Command>();
            for (Command command : commands) {
                if ("gradle".equals(command.getExecutable())) {
                    List<String> args = new ArrayList<String>(command.getArgs());
                    args.add("--init-script");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java

        private final List<BuiltInCommand> commands;
        private final InternalProblems problemsService;
    
        @Inject
        public DefaultBuildTaskSelector(BuildStateRegistry buildRegistry, TaskSelector taskSelector, List<BuiltInCommand> commands, InternalProblems problemsService) {
            this.buildRegistry = buildRegistry;
            this.taskSelector = taskSelector;
            this.commands = commands;
            this.problemsService = problemsService;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_pgo_auto.txt

    ! stderr 'build\\t-pgo='
    
    # other build-related commands
    go install -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go'
    
    go run -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go'
    
    go test -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go.*a1_test.go'
    stderr 'compile.*-pgoprofile=.*external_test.go'
    
    # go list commands should succeed as usual
    go list -pgo=auto ./a/a1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. istioctl/cmd/root.go

    	seenCommands := make(map[*cobra.Command]bool)
    	var commandStack []*cobra.Command
    
    	commandStack = append(commandStack, rootCmd)
    
    	for len(commandStack) > 0 {
    		n := len(commandStack) - 1
    		curCmd := commandStack[n]
    		commandStack = commandStack[:n]
    		seenCommands[curCmd] = true
    		for _, command := range curCmd.Commands() {
    			if !seenCommands[command] {
    				commandStack = append(commandStack, command)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/customPlugins/customPlugin/tests/customPlugin.sample.conf

    # tag::cli[]
    # gradle --quiet hello
    # end::cli[]
    commands: [{
        executable: gradle
        args: hello
        flags: --quiet
        expected-output-file: customPlugin.out
    }, {
        executable: gradle
        args: hi
        flags: --quiet
        expected-output-file: customPluginScript.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 22:35:53 UTC 2024
    - 275 bytes
    - Viewed (0)
Back to top