Sha256: 544dcda2b707edf4e4adbf552aaed9186c6d8eee8404f09b2920dc82556fe623
Contents?: true
Size: 527 Bytes
Versions: 6
Compression:
Stored size: 527 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 synopsis "Create or update labels on all GitHub repos." 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
6 entries across 6 versions & 1 rubygems