Class: Waff::Commands::List
- Defined in:
- lib/waff/commands/list.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
Instance Method Details
#call(params) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/waff/commands/list.rb', line 6 def call params ready_issues = github_repo.get_open_issues Config.ready_label puts "Ready: \n\n" ready_issues.each do |issue| puts "##{issue.number}\t #{issue.title}" end puts in_progress_issues = github_repo.get_open_issues 'in progress' puts "In progress: \n\n" in_progress_issues.each do |issue| puts "##{issue.number}\t #{issue.title}" end puts end |