Skip to content

Commit

Permalink
Add --plot-to-board to plot command
Browse files Browse the repository at this point in the history
This flag of plot command will send the plotted burndown chart to the first
card of the `Done` column.

close #134
  • Loading branch information
Ronaq13 committed Mar 1, 2018
1 parent 1930f9f commit 8ec340c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,11 @@ def burndown
end
end

desc 'plot SPRINT-NUMBER [--output] [--no-tasks] [--with-fast-lane]', 'Plot burndown chart for given sprint'
desc 'plot SPRINT-NUMBER [--output] [--no-tasks] [--with-fast-lane] [--plot-to-board]', 'Plot burndown chart for given sprint'
option :output, aliases: :o, desc: 'Output directory', required: false
option 'with-fast-lane', desc: 'Plot Fast Lane with new cards bars', required: false, type: :boolean
option 'no-tasks', desc: 'Do not plot tasks line', required: false, type: :boolean
option :plot_to_board, type: :boolean, desc: 'Send the plotted data to the first card of Done column'
def plot(sprint_number)
process_global_options options
BurndownChart.plot(sprint_number, options)
Expand Down

0 comments on commit 8ec340c

Please sign in to comment.