12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# File 'lib/jirify/cli/sprint.rb', line 12
def show
verbose = Config.always_verbose || options[:verbose]
issues = Models::Sprint.issues_in_current_sprint(options[:mine])
modified_options = options.dup
if verbose
modified_options[:assignee] = true
modified_options[:url] = true
modified_options[:summary] = true
end
say UI::SprintTable.new(issues).to_table(modified_options)
rescue UI::WindowTooNarrow
say ColorizedString['ERROR: Your terminal window is too narrow to print the sprint table!']
.white.on_red.bold
end
|