method
map
v2_6_3 -
Show latest stable
- Class:
Bundler::Thor
map(mappings = nil)public
Maps an input to a command. If you define:
map "-T" => "list"
Running:
thor -T
Will invoke the list command.
Parameters
|
Maps the string or the strings in the array to the given command. |