Sha256: 5f5f22fb3ee810bb832ff64d8593600a4d4328ca1646973f2c74f6287fc16e81
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
# frozen_string_literal: true require "thor" require_relative "../base" module Neetob class CLI module Github module Labels class Show < Base attr_accessor :repos, :label_name, :sandbox, :all_neeto_repos def initialize(repos, label_name, sandbox = false, all_neeto_repos = false) super() @repos = repos @label_name = label_name @sandbox = sandbox @all_neeto_repos = all_neeto_repos end def run check_for_apps_and_all_neeto_repos_option(repos, all_neeto_repos) matching_repos = find_all_matching_apps_or_repos(repos, :github, sandbox, false, all_neeto_repos) matching_repos.each do |repo| ui.info("\n \"#{label_name}\" label details from #{repo} \n") begin label_details = client.label(repo, label_name) ui.success(label_details.inspect) rescue StandardError => e ExceptionHandler.new(e).process end end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
neetob-0.2.3 | lib/neetob/cli/github/labels/show.rb |