update more files to non-hashrocket syntax
This commit is contained in:
parent
7108c29035
commit
c2512e9093
48 changed files with 180 additions and 185 deletions
|
@ -1,7 +1,7 @@
|
|||
# CLI Module
|
||||
module Middleman::Cli
|
||||
# Alias "c" to "console"
|
||||
Base.map('c' => 'console')
|
||||
Base.map(c: 'console')
|
||||
|
||||
# The CLI Console class
|
||||
class Console < Thor
|
||||
|
|
|
@ -15,13 +15,10 @@ module Middleman::Cli
|
|||
default: 'default',
|
||||
desc: "Use a project template: #{available_templates}"
|
||||
method_option 'css_dir',
|
||||
# :default => "stylesheets",
|
||||
desc: 'The path to the css files'
|
||||
method_option 'js_dir',
|
||||
# :default => "javascripts",
|
||||
desc: 'The path to the javascript files'
|
||||
method_option 'images_dir',
|
||||
# :default => "images",
|
||||
desc: 'The path to the image files'
|
||||
method_option 'rack',
|
||||
type: :boolean,
|
||||
|
@ -55,8 +52,8 @@ module Middleman::Cli
|
|||
|
||||
# Map "i", "new" and "n" to "init"
|
||||
Base.map(
|
||||
'i' => 'init',
|
||||
'new' => 'init',
|
||||
'n' => 'init'
|
||||
'i' => 'init',
|
||||
'new' => 'init',
|
||||
'n' => 'init'
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue