Class: Terjira::BoardCLI
- Defined in:
- lib/terjira/board_cli.rb
Constant Summary
Constants included from IssuePresenter
Constants included from OptionSupportable
OptionSupportable::OPTION_TO_SELECTOR
Instance Method Summary collapse
Methods inherited from BaseCLI
Methods included from SprintPresenter
#colorize_sprint_state, #render_sprint_detail, #render_sprints_summary, #sort_sprint_by_state, #summarise_sprint
Methods included from BoardPresenter
Methods included from ProjectPresenter
#redner_project_detail, #render_components_and_versions, #render_projects_summary
Methods included from IssuePresenter
#comments_template, #issue_detail_template, #render_divided_issues_by_status, #render_issue_detail, #render_issues, #summarise_issue
Methods included from CommonPresenter
#dim_none, #formatted_date, #insert_new_line, #pastel, #render, #screen_width, #username
Methods included from OptionSupportable
included, #resource_store, #suggest_options, #suggest_related_value_options
Instance Method Details
#backlog ⇒ Object
20 21 22 23 24 25 |
# File 'lib/terjira/board_cli.rb', line 20 def backlog opts = (required: [:board]) board = opts.delete(:board) issues = client_class.backlog(board.key_value, opts) render_issues(issues) end |
#list ⇒ Object
13 14 15 16 |
# File 'lib/terjira/board_cli.rb', line 13 def list boards = client_class.all render_boards_summary(boards.sort_by { |b| b.id }) end |