12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# File 'lib/jira/auto/tool/board_controller/options.rb', line 12
def self.add(tool, parser)
parser. "Board"
parser.on("--board-name=STRING", String) do |board_name|
tool.jira_board_name = board_name
end
parser.on("--board-cache-clear", "Clear the board cache so they are requested again.") do
tool.board_controller.clear_cache
end
parser.on("--board-list", "List boards. The output can be controlled via the " \
"#{Tool::Environment::JIRA_BOARD_NAME_REGEX} environment variable") do
tool.board_controller.list_boards
end
end
|