[Groovy] Class CliBuilder

  • groovy.util.CliBuilder
deprecated:
use groovy.cli.picocli.CliBuilder or CliBuilder instead.

Properties Summary

Properties
Type Name and description
HelpFormatter formatter
CommandLineParser parser

Methods Summary

Methods
Type Params Return Type Name and description
HelpFormatter getFormatter()
deprecated:
This may not be available in future groovy.util.CliBuilder versions.
CommandLineParser getParser()
deprecated:
This may not be available in future groovy.util.CliBuilder versions.
def invokeMethod(String name, Object args)
OptionAccessor parse(def args)
void setFormatter(HelpFormatter formatter)
deprecated:
This may not be available in future groovy.util.CliBuilder versions.
void setParser(CommandLineParser parser)
deprecated:
This may not be available in future groovy.util.CliBuilder versions.

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Property Detail

HelpFormatter formatter

CommandLineParser parser

Method Detail

@Deprecated HelpFormatter getFormatter()

deprecated:
This may not be available in future groovy.util.CliBuilder versions. Use groovy.cli.commons.CliBuilder if you need this feature.

@Deprecated CommandLineParser getParser()

deprecated:
This may not be available in future groovy.util.CliBuilder versions. Use groovy.cli.commons.CliBuilder if you need this feature.

def invokeMethod(String name, Object args)

OptionAccessor parse(def args)

@Deprecated void setFormatter(HelpFormatter formatter)

deprecated:
This may not be available in future groovy.util.CliBuilder versions. Use groovy.cli.commons.CliBuilder if you need this feature.

@Deprecated void setParser(CommandLineParser parser)

deprecated:
This may not be available in future groovy.util.CliBuilder versions. Use groovy.cli.commons.CliBuilder if you need this feature.

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/groovy/util/CliBuilder.html