一、class_option :stylesheet, :type => :boolean, :default => "true", :description => "test class_options"
通过skip设置stylesheet为false
rails g my docker --skip-stylesheet
二、class_option :scope, :type => :string, :default => "zn", :description => "test class_options"
通过在命令行中设置scope值
rails g my docker --scope test