README.md in command_mapper-0.2.0 vs README.md in command_mapper-0.2.1

- old
+ new

@@ -19,13 +19,13 @@ * Supports mapping in options and additional arguments. * Supports common option types: * [Str][CommandMapper::Types::Str]: string values * [Num][CommandMapper::Types::Num]: numeric values * [Hex][CommandMapper::Types::Hex]: hexadecimal values - * [Map][CommandMapper::Types::Map]: maps `true`/`false` to `yes`/`no`, or - `enabled`/`disabled` (aka `--opt=yes|no` or - `--opt=enabled|disabled` values). + * [Map][CommandMapper::Types::Map]: maps Ruby values to other String values. + * `Map::YesNo`: maps `true`/`false` to `yes`/`no`. + * `Map::EnabledDisabled`: Maps `true`/`false` to `enabled`/`disabled`. * [Enum][CommandMapper::Types::Enum]: maps a finite set of Symbols to a finite set of Strings (aka `--opt={foo|bar|baz}` values). * [List][CommandMapper::Types::List]: comma-separated list (aka `--opt VALUE,...`). * [KeyValue][CommandMapper::Types::KeyValue]: maps a Hash or Array to @@ -310,9 +310,21 @@ Grep.run do |grep| grep.ignore_case = true grep.patterns = "foo" grep.file = "file.txt" end +``` + +Overriding the command name: + +```ruby +Grep.run(..., command_name: 'grep2') +``` + +Specifying the direct path to the command: + +```ruby +Grep.run(..., command_path: '/path/to/grep') ``` ### Capturing output ```ruby