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. |
map(mappings = nil)Maps an input to a command. If you define:
map "-T" => "list"
Running:
thor -T
Will invoke the list command.
|
Maps the string or the strings in the array to the given command. |