Sha256: 963e9c820377564ec4d3630579ef9355102c5430b7f6c9814ef3600e9e744f21

Contents?: true

Size: 531 Bytes

Versions: 2

Compression:

Stored size: 531 Bytes

Contents

require "thor"
require "hajimeru/generator"
require "hajimeru/version"

module Hajimeru
  class Command < Thor
    register(Generator::GroongaPlugin, "groonga_plugin", "groonga_plugin PLUGIN_NAME", "Scaffold the Groonga plugin")
    register(Generator::JavaScript, "javascript", "javascript PROJECT_NAME", "Scaffold the JavaScript project")
    register(Generator::Sinatra, "sinatra", "sinatra PROJECT_NAME", "Scaffold the Sinatra project")

    desc "version", "Show version"
    def version
      puts(VERSION)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hajimeru-0.1.2 lib/hajimeru/command.rb
hajimeru-0.1.1 lib/hajimeru/command.rb