- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 245 for commandline (0.21 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProcessOutputValueSourceTest.groovy
given: def spec = specFactory.newExecAction() when: createProviderOf(ProcessOutputValueSource.class) { it.parameters { it.commandLine = ["echo", "hello"] withDefaultEnvironment(it) } }.get() then: 1 * execOperations.exec(_) >> { Action<? super ExecSpec> action -> action.execute(spec) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.6K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java
import java.util.Properties; import org.apache.commons.cli.CommandLine; import org.apache.maven.execution.DefaultMavenExecutionRequest; import org.apache.maven.execution.MavenExecutionRequest; import org.codehaus.plexus.classworlds.ClassWorld; /** * CliRequest */ public class CliRequest { String[] args; CommandLine commandLine; ClassWorld classWorld; String workingDirectory;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jun 19 10:32:14 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProcessOutputProviderIntegrationTest.groovy
.printEnvironmentVariable("TEST_FOO") .writeTo(testDirectory, "script") buildFile """ def execProvider = providers.exec { ${cmdToExecConfig(*testScript.commandLine, "--some-arg")} environment("TEST_FOO", "fooValue") } execProvider.result.get().assertNormalExitValue() println(execProvider.standardOutput.asText.get())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8K bytes - Viewed (0) -
cmd/kubeadm/app/kubeadm.go
allFlags.VisitAll(func(f *flag.Flag) { switch f.Name { case "v", "add_dir_header", "skip_headers": flag.CommandLine.Var(f.Value, f.Name, f.Usage) } }) pflag.CommandLine.SetNormalizeFunc(cliflag.WordSepNormalizeFunc) pflag.CommandLine.AddGoFlagSet(flag.CommandLine) cmd := cmd.NewKubeadmCommand(os.Stdin, os.Stdout, os.Stderr) return cmd.Execute()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 04:38:21 UTC 2024 - 1.3K bytes - Viewed (0) -
src/flag/export_test.go
// After calling ResetForTesting, parse errors in flag handling will not // exit the program. func ResetForTesting(usage func()) { CommandLine = NewFlagSet(os.Args[0], ContinueOnError) CommandLine.SetOutput(io.Discard) CommandLine.Usage = commandLineUsage Usage = usage
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 07 09:29:14 UTC 2022 - 653 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalBuild-incrementalBuildAdvanced/groovy/buildSrc/src/main/java/org/example/GitClone.java
getExecOperations().exec(spec -> spec.commandLine("git", "clone", "--no-checkout", remoteUri, destinationDir.getAbsolutePath())); } getExecOperations().exec(spec -> { spec.commandLine("git", "checkout", getCommitId().get()); spec.setWorkingDir(destinationDir); }); getExecOperations().exec(spec -> { spec.commandLine("git", "clean", "-fdx");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.6K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
CommandLine commandLine = cliRequest.getCommandLine(); String workingDirectory = cliRequest.getWorkingDirectory(); MavenExecutionRequest request = cliRequest.getRequest(); File userSettingsFile; if (commandLine.hasOption(CLIManager.ALTERNATE_USER_SETTINGS)) { userSettingsFile = new File(commandLine.getOptionValue(CLIManager.ALTERNATE_USER_SETTINGS));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jun 19 15:04:04 UTC 2023 - 11.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalBuild-incrementalBuildAdvanced/kotlin/buildSrc/src/main/java/org/example/GitClone.java
getExecOperations().exec(spec -> spec.commandLine("git", "clone", "--no-checkout", remoteUri, destinationDir.getAbsolutePath())); } getExecOperations().exec(spec -> { spec.commandLine("git", "checkout", getCommitId().get()); spec.setWorkingDir(destinationDir); }); getExecOperations().exec(spec -> { spec.commandLine("git", "clean", "-fdx");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/DelegatingExecSpec.java
getDelegate().setCommandLine(args); } @Override default ExecSpec commandLine(Object... args) { getDelegate().commandLine(args); return this; } @Override default ExecSpec commandLine(Iterable<?> args) { getDelegate().commandLine(args); return this; } @Override default ExecSpec args(Object... args) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.2K bytes - Viewed (0) -
src/internal/trace/testdata/cmd/gotracevalidate/main.go
"fmt" "io" "log" "os" "internal/trace" "internal/trace/testtrace" ) func init() { flag.Usage = func() { fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s\n", os.Args[0]) fmt.Fprintf(flag.CommandLine.Output(), "\n") fmt.Fprintf(flag.CommandLine.Output(), "Accepts a trace at stdin and validates it.\n") flag.PrintDefaults() } log.SetFlags(0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:29 UTC 2024 - 984 bytes - Viewed (0)