fix plugin create in cli.py

This commit is contained in:
avollkopf 2022-04-26 07:19:25 +02:00
parent 1b85eefad2
commit cbce63eab3
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
__version__ = "4.0.5.a11" __version__ = "4.0.5.a12"
__codename__ = "Spring Break" __codename__ = "Spring Break"

View file

@ -14,7 +14,7 @@ import importlib
from importlib_metadata import metadata from importlib_metadata import metadata
from tabulate import tabulate from tabulate import tabulate
from PyInquirer import prompt, print_json from PyInquirer import prompt, print_json
import platform
class CraftBeerPiCli(): class CraftBeerPiCli():
def __init__(self, config) -> None: def __init__(self, config) -> None:
@ -263,7 +263,7 @@ def plugins(context):
'''List active plugins''' '''List active plugins'''
context.obj.plugins_list() context.obj.plugins_list()
@click.command() @main.command()
@click.pass_context @click.pass_context
def create(context): def create(context):
'''Create New Plugin''' '''Create New Plugin'''