Sha256: 25a78e2b005d9493faa7771e82ea970e703134ecceba37eedef5458187938bcc

Contents?: true

Size: 270 Bytes

Versions: 5

Compression:

Stored size: 270 Bytes

Contents

require 'thor'
require 'rubotnik'

module Rubotnik
  class CLI < Thor

    desc "new", "Generate bot project at PATH"
    def new(path = nil)
      generator = Rubotnik::Generator.new
      generator.destination_root = path
      generator.invoke_all
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubotnik-0.2.3 lib/rubotnik/cli.rb
rubotnik-0.2.2 lib/rubotnik/cli.rb
rubotnik-0.2.1 lib/rubotnik/cli.rb
rubotnik-0.2.0 lib/rubotnik/cli.rb
rubotnik-0.1.1 lib/rubotnik/cli.rb