def completion(ctx):
    '''Generate bash completion script'''
    header(completion.__doc__)
    with ctx.cd(ROOT):
        ctx.run('_bumpr_COMPLETE=source bumpr > bumpr-complete.sh', pty=True)
    success('Completion generated in bumpr-complete.sh')
Generate bash completion script