mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
added an alias for console
command
Almost every other command has an alias except `console`. Also the comment above the class definition wrongly said `console` was a command for creating new projects. Corrected appropriately
This commit is contained in:
parent
6219c95040
commit
5a974ce75a
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
||||||
# CLI Module
|
# CLI Module
|
||||||
module Middleman::Cli
|
module Middleman::Cli
|
||||||
|
# Alias "c" to "console"
|
||||||
|
Base.map({ 'c' => 'console' })
|
||||||
|
|
||||||
# A thor task for creating new projects
|
# The CLI Console class
|
||||||
class Console < Thor
|
class Console < Thor
|
||||||
include Thor::Actions
|
include Thor::Actions
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue