Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for allowMixedSubcommandsAndOptions (0.3 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/connection/BuildLogLevelMixIn.java

            SystemPropertiesCommandLineConverter propertiesCommandLineConverter = new SystemPropertiesCommandLineConverter();
            CommandLineParser parser = new CommandLineParser().allowUnknownOptions().allowMixedSubcommandsAndOptions();
    
            converter.configure(parser);
            propertiesCommandLineConverter.configure(parser);
    
            List<String> arguments = parameters.getArguments();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/converter/StartParameterConverter.java

            loggingConfigurationCommandLineConverter.configure(parser);
            parallelConfigurationCommandLineConverter.configure(parser);
            projectPropertiesCommandLineConverter.configure(parser);
            parser.allowMixedSubcommandsAndOptions();
            buildOptionsConverter.configure(parser);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 11:25:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/CommandLineParserTest.groovy

            when:
            parser.allowMixedSubcommandsAndOptions()
            result = parser.parse(['a', '--option', 'b'])
    
            then:
            result.extraArguments == ['a', '--option', 'b']
        }
    
        def canCombineSubcommandShortOptionWithOtherShortOptions() {
            parser.option('b')
            parser.allowMixedSubcommandsAndOptions()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 20.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/DefaultCommandLineActionFactory.java

                buildLayoutConverter.configure(parser);
                loggingBuildOptions.configure(parser);
    
                parser.allowUnknownOptions();
                parser.allowMixedSubcommandsAndOptions();
    
                WelcomeMessageConfiguration welcomeMessageConfiguration = new WelcomeMessageConfiguration(WelcomeMessageDisplayMode.ONCE);
    
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineParser.java

                    parseState = parseState.onNonOption(arg);
                }
            }
    
            parseState.onCommandLineEnd();
            return parsedCommandLine;
        }
    
        public CommandLineParser allowMixedSubcommandsAndOptions() {
            allowMixedOptions = true;
            return this;
        }
    
        public CommandLineParser allowUnknownOptions() {
            allowUnknownOptions = true;
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ProviderConnection.java

            CommandLineParser commandLineParser = new CommandLineParser();
            commandLineParser.allowUnknownOptions();
            commandLineParser.allowMixedSubcommandsAndOptions();
    
            InitialPropertiesConverter initialPropertiesConverter = new InitialPropertiesConverter();
            BuildLayoutConverter buildLayoutConverter = new BuildLayoutConverter();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top