allowing showing any issue

This commit is contained in:
Benjamin Dauvergne 2018-02-07 22:43:58 +01:00
parent 9be7ca2662
commit e75a1e7b79
1 changed files with 3 additions and 2 deletions

View File

@ -208,8 +208,9 @@ def apply(issue):
@issue.command()
def show():
issue = get_current_issue()
@click.option('--issue', default=None, type=int)
def show(issue):
issue = get_issue(issue)
click.echo('URL: %s' % issue.url)
click.echo('Subject: %s' % issue.subject)
click.echo('Description: %s' % issue.description)