Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 230 for commandline (0.16 sec)

  1. src/flag/flag.go

    func Parse() {
    	// Ignore errors; CommandLine is set for ExitOnError.
    	CommandLine.Parse(os.Args[1:])
    }
    
    // Parsed reports whether the command-line flags have been parsed.
    func Parsed() bool {
    	return CommandLine.Parsed()
    }
    
    // CommandLine is the default set of command-line flags, parsed from [os.Args].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  2. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

            val execOutput = providers.exec {
                workingDir = projectDir
                isIgnoreExitValue = true
                commandLine = listOf("git", *args)
                if (OperatingSystem.current().isWindows) {
                    commandLine = listOf("cmd.exe", "/d", "/c") + commandLine
                }
            }
            return execOutput.result.zip(execOutput.standardOutput.asText) { result, outputText ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 05:01:36 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          client.connectionPool.evictAll()
          client.dispatcher.executorService.shutdownNow()
    
          if (launch == CommandLine) {
            process?.destroyForcibly()
          }
        }
      }
    
      private fun sendTestRequest(request: Request) {
        try {
          if (this.launch != CommandLine) {
            println(request.url)
          }
    
          client.newCall(request)
            .execute()
            .use {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSkipCacheIntegrationTest.groovy

     */
    
    package org.gradle.internal.cc.impl
    
    class ConfigurationCacheSkipCacheIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def "skip reading cached state on #commandLine"() {
    
            def configurationCache = newConfigurationCacheFixture()
    
            given:
            buildFile << """
                abstract class MyTask extends DefaultTask {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. test/fixedbugs/bug459.go

    // method calls in function bodies.
    
    package flag
    
    var commandLine = NewFlagSet() // ERROR "initialization cycle|depends upon itself"
    
    type FlagSet struct {
    }
    
    func (f *FlagSet) failf(format string, a ...interface{}) {
    	f.usage()
    }
    
    func (f *FlagSet) usage() {
    	if f == commandLine {
    		panic(3)
    	}
    }
    
    func NewFlagSet() *FlagSet {
    	f := &FlagSet{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 681 bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/DefaultCommandLineActionFactory.java

            @Override
            @Nullable
            public Action<? super ExecutionListener> createAction(CommandLineParser parser, ParsedCommandLine commandLine) {
                if (commandLine.hasOption(HELP)) {
                    return new ShowUsageAction(parser);
                }
                if (commandLine.hasOption(VERSION)) {
                    return new ShowVersionAction();
                }
                return null;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.AbstractExecTask.xml

                </thead>
                <tr>
                    <td>args</td>
                </tr>
                <tr>
                    <td>argumentProviders</td>
                </tr>
                <tr>
                    <td>commandLine</td>
                </tr>
                <tr>
                    <td>executable</td>
                </tr>
                <tr>
                    <td>workingDir</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/InitialPropertiesConverterTest.groovy

            def converter = new InitialPropertiesConverter()
            def parser = new CommandLineParser()
            converter.configure(parser)
            def commandLine = parser.parse("-Done=12", "-Dtwo")
            def result = converter.convert(commandLine)
    
            expect:
            result.requestedSystemProperties.size() == 2
            result.requestedSystemProperties.get("one") == "12"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/initialization/PropertiesLoaderIntegrationTest.groovy

            succeeds ':printSystemProp'
    
            then:
            outputContains('mySystemProp=properties file')
    
            when:
            args '-DmySystemProp=commandline'
            succeeds ':printSystemProp'
    
            then:
            outputContains('mySystemProp=commandline')
        }
    
        @Requires(IntegTestPreconditions.NotEmbeddedExecutor) // needs to run Gradle from command line
        @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/converter/BuildOptionBackedConverter.java

            buildOptions.commandLineConverter().configure(parser);
        }
    
        public void convert(ParsedCommandLine commandLine, Map<String, String> properties, T target) {
            buildOptions.propertiesConverter().convert(properties, target);
            buildOptions.commandLineConverter().convert(commandLine, target);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 11:25:33 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top