Class: Terjira::BoardCLI

Inherits:
BaseCLI
  • Object
show all
Defined in:
lib/terjira/board_cli.rb

Constant Summary

Constants included from OptionSupportable

OptionSupportable::OPTION_TO_SELECTOR

Instance Method Summary collapse

Methods inherited from BaseCLI

banner, subcommand_prefix

Methods included from SprintPresenter

#colorize_sprint_state, #render_sprint_detail, #render_sprints_summary, #sort_sprint_by_state, #summarise_sprint

Methods included from BoardPresenter

#render_boards_summary

Methods included from ProjectPresenter

#redner_project_detail, #render_components_and_versions, #render_projects_summary

Methods included from IssuePresenter

#render_divided_issues_by_status, #render_issue_detail, #render_issues, #summarise_issue

Methods included from CommonPresenter

#formatted_date, #insert_new_line, #pastel, #render, #screen_width, #username_with_email

Methods included from OptionSupportable

included, #resource_store, #suggest_options

Instance Method Details

#listObject



7
8
9
10
# File 'lib/terjira/board_cli.rb', line 7

def list
  boards = Client::Board.all
  render_boards_summary(boards.sort_by { |b| b.id })
end