Class: Helm::Commands::List
- Defined in:
- lib/helm/commands/list.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from Helm::Commands::Command
Instance Method Details
#run ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/helm/commands/list.rb', line 4 def run parameters :filter filter = session[:filter] || "responsible:me state:open milestone:next" puts "Tickets with filter \"#{filter}\"" session.tickets(filter).each do |ticket| puts " ##{ticket.id} #{ticket.title}" end end |