class Octaccord::Command::Label

Public Class Methods

new(client, repos, **options) click to toggle source
# File lib/octaccord/command/label.rb, line 5
def initialize(client, repos, **options)
  begin
    client.labels(repos).each do |label|
      puts label.name
    end
  rescue Octokit::ClientError => e
    STDERR.puts "Error: ##{issue} -- #{e.message.split(' // ').first}"
  end
end