Sha256: 402c583fb7af2688329349366e1685e6e623a2207ddb9c5ad8738c38734a6c1f
Contents?: true
Size: 822 Bytes
Versions: 71
Compression:
Stored size: 822 Bytes
Contents
# frozen_string_literal: true require "thor" require_relative "../base" module Neetob class CLI module Github module Labels class List < Base attr_accessor :repos, :sandbox def initialize(repos, sandbox = false) super() @repos = repos @sandbox = sandbox end def run matching_repos = find_all_matching_apps_or_repos(repos, :github, sandbox) matching_repos.each do |repo| ui.info("\n Labels of #{repo} \n") begin labels = client.labels(repo) ui.success(labels) rescue StandardError => e ExceptionHandler.new(e).process end end end end end end end end
Version data entries
71 entries across 71 versions & 1 rubygems