Sha256: 1bcf6fbce2741f7203b104be3f5e004fe490c7b64b23e10f55d79ff5bec68d55

Contents?: true

Size: 335 Bytes

Versions: 5

Compression:

Stored size: 335 Bytes

Contents

require 'thor'

module SinatraGenerator
  class CLI < Thor

    # register(class_name, subcommand_alias, usage_list_string, description_string)

    register SinatraGenerator::Generator, "new", "new [APP_NAME]", "Generate a basic hello world app", options
    tasks["new"].options = SinatraGenerator::Generator.class_options

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sinatra_generator-0.1.4 lib/sinatra_generator/cli.rb
sinatra_generator-0.1.3 lib/sinatra_generator/cli.rb
sinatra_generator-0.1.2 lib/sinatra_generator/cli.rb
sinatra_generator-0.1.1 lib/sinatra_generator/cli.rb
sinatra_generator-0.1.0 lib/sinatra_generator/cli.rb