summaryrefslogtreecommitdiff
path: root/src/rebar_neotoma_compiler.erl
diff options
context:
space:
mode:
authorKlas Johansson <klas.johansson@gmail.com>2011-01-24 16:55:18 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-01-24 17:18:33 +0100
commit6978504d43de4d12d791db974e4748e2cb4c2092 (patch)
tree6f494354cd04432a2c98b9b84570ff3ea2d36462 /src/rebar_neotoma_compiler.erl
parentd1ff83a8989cd11fbbed794a97c6e13cf6388e21 (diff)
Add support for abbreviated command names
This change makes it possible to type the beginning (the prefix) of a command name and rebar will guess the full name of the command, thereby saving the user precious keystrokes. As long as the prefix matches only one command, rebar runs that command, otherwise rebar prints a list of candidate command names. The "-" character is considered to be a word separator and the prefix matching is done per word. Example prefix matches: co ==> compile cl ==> clean create ==> create create-a ==> create-app c-a ==> create-app c-app ==> create-app
Diffstat (limited to 'src/rebar_neotoma_compiler.erl')
0 files changed, 0 insertions, 0 deletions