Sha256: 7b044c344580309bb7162ab103afe2148ee372b5370c765fd943e062f16c92a9
Contents?: true
Size: 803 Bytes
Versions: 3
Compression:
Stored size: 803 Bytes
Contents
# frozen_string_literal: true require "thor" require_relative "../base" module Neetob class CLI module Github module Labels class List < Base attr_accessor :apps, :sandbox def initialize(apps, sandbox = false) super() @apps = apps @sandbox = sandbox end def run matching_apps = find_all_matching_apps(apps, :github, sandbox) matching_apps.each do |app| ui.info("\n Labels of #{app} \n") begin labels = client.labels(app) ui.success(labels) rescue StandardError => e ExceptionHandler.new(e).process end end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
neetob-0.1.2 | lib/neetob/cli/github/labels/list.rb |
neetob-0.1.1 | lib/neetob/cli/github/labels/list.rb |
neetob-0.1.0 | lib/neetob/cli/github/labels/list.rb |