From 5a974ce75ab481df6b07958ad3f958eb0d6c1f4f Mon Sep 17 00:00:00 2001 From: Yaw Boakye Date: Wed, 22 Jan 2014 02:02:51 +0000 Subject: [PATCH] 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 --- middleman-cli/lib/middleman-cli/console.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/middleman-cli/lib/middleman-cli/console.rb b/middleman-cli/lib/middleman-cli/console.rb index 21f4c42c..e19e7dc2 100644 --- a/middleman-cli/lib/middleman-cli/console.rb +++ b/middleman-cli/lib/middleman-cli/console.rb @@ -1,7 +1,9 @@ # CLI Module 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 include Thor::Actions