Class: Brut::CLI::Apps::Scaffold::BaseCommand
Instance Attribute Summary
#parent_command
Instance Method Summary
collapse
#accepts, #args_description, #argv, #commands, #delegate_to_command, #description, #detailed_description, #env, #env_vars, #execute, #name, #options, #puts, #run, #stdin, #system!, #theme
Instance Method Details
#bootstrap? ⇒ Boolean
12
|
# File 'lib/brut/cli/apps/scaffold.rb', line 12
def bootstrap? = false
|
#default_rack_env ⇒ Object
13
|
# File 'lib/brut/cli/apps/scaffold.rb', line 13
def default_rack_env = "development"
|
#opts ⇒ Object
14
15
16
17
|
# File 'lib/brut/cli/apps/scaffold.rb', line 14
def opts = [
[ "--overwrite", "If set, any files that exists already will be overwritten by new scaffolds" ],
[ "--dry-run", "If set, no files are changed. You will see output of what would happen without this flag"],
]
|