Sha256: a491c37d976cd73581290ebf9ebccaff4597184bc94ba9a3c0ae26e0a01c1fa1
Contents?: true
Size: 397 Bytes
Versions: 1
Compression:
Stored size: 397 Bytes
Contents
require 'github_exporter' namespace :github do desc "Export github issues (pass credentials through rake parameters or GITHUB_LOGIN=, GITHUB_TOKEN=)" task :export, :login, :token, :needs => :environment do |t, args| exporter = GitHub::Exporter.new('<%= repo %>', args.login || ENV['GITHUB_LOGIN'], args.token || ENV['GITHUB_TOKEN']) exporter.export! puts exporter.issues end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hubish-0.0.1 | generators/hubish/templates/github.rb |