Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added --plot-to-board to plot command #174

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/burndown_chart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def process_options(hash)
cli_switches << '--no-tasks' if hash['no-tasks']
cli_switches << '--with-fast-lane' if hash['with-fast-lane']
cli_switches << "--output #{hash['output']}" if hash['output']
cli_switches << '--plot-to-board' if hash['plot-to-board']
cli_switches << '--verbose' if hash['verbose']
end
end
Expand Down
1 change: 1 addition & 0 deletions lib/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def burndown
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', desc: 'Send the plotted chart to the first card of the Done column', required: false
def plot(sprint_number)
process_global_options options
BurndownChart.plot(sprint_number, options)
Expand Down
1 change: 1 addition & 0 deletions scripts/create_burndown.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def parseCommandLine():
parser.add_argument('--with-fast-lane', action='store_true', help='Draw line for Fast Lane cards', default=False)
parser.add_argument('--verbose', action='store_true', help='Verbose Output', default=False)
parser.add_argument('--no-head', action='store_true', help='Run in headless mode', default=False)
parser.add_argument('--plot-to-board', help='Send the plotted chart to first card of Done column')
args = parser.parse_args()

if args.output:
Expand Down