Sha256: 4666783276b509c9dd05f75bf5b0244ca47781ea5b05b2a73c0afab1971e6ac9

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

module SpringMvcScaffold::Runner

  class Scaffold
    def run(args)
      if SpringMvcScaffold::Runner::Help.help?(args.first)
        ScaffoldGenerator.start(["-h"])
      elsif File.exists?("src")
        ScaffoldGenerator.new(args).invoke_all
      else
        Kernel.puts "To run springmvc scaffold please go to the project root folder."
      end
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
springmvc-scaffold-1.0.1 lib/springmvc-scaffold/runner/scaffold.rb