Sha256: 9e9b89675250f8482ef3c3f0319a1a0cbca2b9fe8b97824da9c2b7936d0b690f

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

require 'thor'
module Gurk
  class Cli < Thor::Group
    include Thor::Actions

    argument :name
   
    def self.source_root
      File.dirname(__FILE__) 
    end

    def setup
      directory "../templates", name, recursive: true
    end

    def bundle_install
      system("cd #{name} && bundle install")
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gurk-0.0.1 lib/gurk/cli.rb