Interface ArgumentContainer

    • Method Detail

      • addArgument

        Argument addArgument​(java.lang.String... nameOrFlags)

        Creates new Argument, adds it to this container and returns it.

        The nameOrFlags is either a single name of positional argument or a list of option strings for named argument, e.g. foo or -f, --foo.

        Parameters:
        nameOrFlags - A name or a list of option strings of new Argument.
        Returns:
        Argument object.
      • description

        ArgumentContainer description​(java.lang.String description)
        Sets the description for the arguments of this container.
        Parameters:
        description - The description of this container.
        Returns:
        this