Method: AppCommand::Generate#execute

Defined in:
lib/routes/generate.rb

#executeObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/routes/generate.rb', line 5

def execute

    begin

        @opts = command_options
        @args = arguments

        @verbose = !@opts[:silent]

        @errors      = []
        @generated   = []
        @overwritten = []

        opts_validate
        opts_routing

    rescue => e

        Blufin::Terminal::print_exception(e)

    end

end