Class: Brut::CLI::Apps::DB::Rebuild
Instance Attribute Summary
#parent_command
Instance Method Summary
collapse
#execute, #initialize
#accepts, #args_description, #argv, #commands, #delegate_to_command, #detailed_description, #env, #env_vars, #execute, #name, #options, #opts, #print, #puts, #run, #stdin, #system!, #theme
Instance Method Details
#bootstrap? ⇒ Boolean
281
|
# File 'lib/brut/cli/apps/db.rb', line 281
def bootstrap? = false
|
#default_rack_env ⇒ Object
280
|
# File 'lib/brut/cli/apps/db.rb', line 280
def default_rack_env = "development"
|
#description ⇒ Object
279
|
# File 'lib/brut/cli/apps/db.rb', line 279
def description = "Drop, re-create, and run migrations, effecitvely rebuilding the entire database"
|
#sub_commands(execution_context) ⇒ Object
282
283
284
285
286
287
288
|
# File 'lib/brut/cli/apps/db.rb', line 282
def sub_commands(execution_context)
[
Drop.new,
Create.new,
Migrate.new,
]
end
|