Class CmdLine


  • public final class CmdLine
    extends Object
    The type Cmd line.
    • Constructor Detail

      • CmdLine

        public CmdLine()
    • Method Detail

      • builder

        public static CmdLine.Builder builder()
        Builder builder.
        Returns:
        the builder
      • isParsed

        public boolean isParsed​(String argument)
        Is parsed boolean.
        Parameters:
        argument - the argument
        Returns:
        the boolean
      • isUsage

        public boolean isUsage()
        Is usage boolean.
        Returns:
        the boolean
      • subparser

        public CmdLine subparser​(String argument)
        Subparser cmd line.
        Parameters:
        argument - the argument
        Returns:
        the cmd line
      • subparsers

        public List<CmdLine> subparsers​(String argument)
        Subparsers list.
        Parameters:
        argument - the argument
        Returns:
        the list
      • pull

        @Deprecated
        public void pull()
        Deprecated.
        Pull.
      • export

        @Deprecated
        public String export​(ParserType parserType)
        Deprecated.
        Export string.
        Parameters:
        parserType - the parser type
        Returns:
        the string
      • export

        @Deprecated
        public String export​(ParserType parserType,
                             String prefix)
        Deprecated.
        Export string.
        Parameters:
        parserType - the parser type
        prefix - the prefix
        Returns:
        the string