From cbce63eab39585653c7472eb9e273852c1010886 Mon Sep 17 00:00:00 2001 From: avollkopf <43980694+avollkopf@users.noreply.github.com> Date: Tue, 26 Apr 2022 07:19:25 +0200 Subject: [PATCH] fix plugin create in cli.py --- cbpi/__init__.py | 2 +- cbpi/cli.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cbpi/__init__.py b/cbpi/__init__.py index 743997c..ea9d9b2 100644 --- a/cbpi/__init__.py +++ b/cbpi/__init__.py @@ -1,3 +1,3 @@ -__version__ = "4.0.5.a11" +__version__ = "4.0.5.a12" __codename__ = "Spring Break" diff --git a/cbpi/cli.py b/cbpi/cli.py index 815e30e..c1ff9be 100644 --- a/cbpi/cli.py +++ b/cbpi/cli.py @@ -14,7 +14,7 @@ import importlib from importlib_metadata import metadata from tabulate import tabulate from PyInquirer import prompt, print_json - +import platform class CraftBeerPiCli(): def __init__(self, config) -> None: @@ -263,7 +263,7 @@ def plugins(context): '''List active plugins''' context.obj.plugins_list() -@click.command() +@main.command() @click.pass_context def create(context): '''Create New Plugin'''