Sha256: c851284b44b4ec2da6f2238418cd903e115d925e2eac5683097601b64a40164a

Contents?: true

Size: 468 Bytes

Versions: 5

Compression:

Stored size: 468 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/inline"
gemfile do
  source "https://rubygems.org"
  gem "multi_repo", require: "multi_repo/cli", path: File.expand_path("..", __dir__)
end

opts = Optimist.options do
  MultiRepo::CLI.common_options(self, :repo_set_default => nil)
end
opts[:repo] = MultiRepo::Labels.all.keys.sort unless opts[:repo] || opts[:repo_set]

MultiRepo::CLI.each_repo(**opts) do |repo|
  MultiRepo::Helpers::UpdateLabels.new(repo.name, **opts).run
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
multi_repo-0.2.1 scripts/update_labels
multi_repo-0.2.0 scripts/update_labels
multi_repo-0.1.2 scripts/update_labels
multi_repo-0.1.1 scripts/update_labels
multi_repo-0.1.0 scripts/update_labels