Module id.xfunction

Class CommandOptions.Config

Object
Config
Enclosing class:
CommandOptions

public static class CommandOptions.Config extends Object
  • Constructor Details

    • Config

      public Config()
  • Method Details

    • withPositionalArguments

      public CommandOptions.Config withPositionalArguments()
      Allows to support positional arguments which otherwise would cause exception. For example given args string "arg1 arg2 -option val", with withPositionalArguments() enabled "arg1", "arg2" will be ignored.

      Positional arguments validation and processing are not covered by CommandOptions and needs to be done manually.

    • withIgnoreParsingExceptions

      public CommandOptions.Config withIgnoreParsingExceptions()