Sha256: 2b524e8810b8e0947007d8f3f15000038d8cb779820b9ae9a60947499803b17f

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

# encoding: utf-8

class Git < Thor
  desc "Do the initial import"
  def init
    %x[git init"]
    %x[git add ."]
    %x[git commit -a -m 'Initial import'"]
  end
end

# TODO
class Github < Thor
  desc "Create GitHub repo"
  def create
    user = ENV["USER"]
    repo = "pupu-<%= @name %>"
    # add origin
    # push
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rango-0.0.4 stubs/pupu/content/Thorfile.rbt