Sha256: d763518b50c0c125b011207f9e1f8b428d8a2ed5187ee5bc88d9aa8da0f09b78

Contents?: true

Size: 475 Bytes

Versions: 5

Compression:

Stored size: 475 Bytes

Contents

#!/usr/bin/env ruby

require 'git-ready'
require 'terminal-announce'

if ARGV.empty? || %w(-h --help help).include?(ARGV.first)
  Announce.info 'Syntax: git-ready <organization>'
  abort
end

organization = ARGV.first
username = GitHub.api.user[:login]

Announce.info "Forking all #{organization} repositories to #{username}"
repositories = GitHub.fork_all organization

Announce.info "Cloning all forked repositories into #{Settings.workspace}"
Workspace.setup repositories

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
git-ready-0.8.15 bin/git-ready
git-ready-0.8.14 bin/git-ready
git-ready-0.8.13 bin/git-ready
git-ready-0.8.12 bin/git-ready
git-ready-0.8.11 bin/git-ready