mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-10 01:17:42 +01:00
fix plugin create in cli.py
This commit is contained in:
parent
1b85eefad2
commit
cbce63eab3
2 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
||||||
__version__ = "4.0.5.a11"
|
__version__ = "4.0.5.a12"
|
||||||
__codename__ = "Spring Break"
|
__codename__ = "Spring Break"
|
||||||
|
|
||||||
|
|
|
@ -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'''
|
||||||
|
|
Loading…
Reference in a new issue