style: Fixed lint problems in cli.py

This commit is contained in:
Aerex 2019-10-30 00:33:59 -05:00
parent 78b9ebb020
commit 6d1f3a617a
1 changed files with 5 additions and 1 deletions

View File

@ -230,6 +230,7 @@ def add(template):
logger.error(e)
raise e
@main.group()
@click.pass_context
def recipe(ctx):
@ -275,6 +276,7 @@ def view(ctx, recipe_id, template):
logger.error(e)
raise e
@recipe.command()
@click.option('--name', '-n', 'name')
@click.option('-t', 'template')
@ -407,6 +409,8 @@ def edit(recipe_id, name, template):
except Exception as e:
logger.error(e)
raise e
@recipe.command()
@click.argument('recipe_id', required=True)
@click.option('-t', 'template')