Sha256: 744ab60715964d84cee70ae9da5034eb2ea401105eb4cc8b542e09288e7a84b7
Contents?: true
Size: 294 Bytes
Versions: 4
Compression:
Stored size: 294 Bytes
Contents
# frozen_string_literal: true module Geet module Services class ListLabels def execute(repository, output: $stdout) labels = repository.labels labels.each do |label| output.puts "- #{label.name} (##{label.color})" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
geet-0.3.0 | lib/geet/services/list_labels.rb |
geet-0.2.1 | lib/geet/services/list_labels.rb |
geet-0.2.0 | lib/geet/services/list_labels.rb |
geet-0.1.12 | lib/geet/services/list_labels.rb |