Class: Geet::Services::ListLabels
- Inherits:
-
Object
- Object
- Geet::Services::ListLabels
- Defined in:
- lib/geet/services/list_labels.rb
Instance Method Summary collapse
Instance Method Details
#execute(repository, output: $stdout) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/geet/services/list_labels.rb', line 6 def execute(repository, output: $stdout) labels = repository.labels labels.each do |label| output.puts "- #{label}" end end |