Class: Brut::CLI::Apps::Scaffold::Form

Inherits:
Action show all
Defined in:
lib/brut/cli/apps/scaffold.rb

Instance Attribute Summary

Attributes inherited from Commands::BaseCommand

#parent_command

Instance Method Summary collapse

Methods inherited from Action

#opts

Methods inherited from BaseCommand

#bootstrap?, #default_rack_env, #opts

Methods inherited from Commands::BaseCommand

#accepts, #argv, #bootstrap?, #commands, #default_rack_env, #delegate_to_command, #detailed_description, #env, #env_vars, #execute, #name, #options, #opts, #puts, #stdin, #system!, #theme

Instance Method Details

#args_descriptionObject



557
# File 'lib/brut/cli/apps/scaffold.rb', line 557

def args_description = "form_route"

#descriptionObject



556
# File 'lib/brut/cli/apps/scaffold.rb', line 556

def description = "Create a form and handler"

#runObject



559
560
561
# File 'lib/brut/cli/apps/scaffold.rb', line 559

def run
  super(form:true)
end