mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 14:43:03 +00:00
Merge remote-tracking branch 'origin/master' into nightly
This commit is contained in:
commit
7879506910
@ -127,17 +127,8 @@ def help_command(context: click.Context) -> None:
|
|||||||
context.invoke(cli, show_help=True)
|
context.invoke(cli, show_help=True)
|
||||||
|
|
||||||
|
|
||||||
hooks.filters.add_items(
|
hooks.Filters.CLI_COMMANDS.add_items(
|
||||||
"cli:commands",
|
[images_command, config_command, local, dev, k8s, help_command, plugins_command]
|
||||||
[
|
|
||||||
images_command,
|
|
||||||
config_command,
|
|
||||||
local,
|
|
||||||
dev,
|
|
||||||
k8s,
|
|
||||||
help_command,
|
|
||||||
plugins_command,
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -198,8 +198,7 @@ class BasePlugin:
|
|||||||
hooks.Filters.ENV_TEMPLATE_ROOTS.add_item(templates_root)
|
hooks.Filters.ENV_TEMPLATE_ROOTS.add_item(templates_root)
|
||||||
# We only add the "apps" and "build" folders and we render them in the
|
# We only add the "apps" and "build" folders and we render them in the
|
||||||
# "plugins/<plugin name>" folder.
|
# "plugins/<plugin name>" folder.
|
||||||
hooks.filters.add_items(
|
hooks.Filters.ENV_TEMPLATE_TARGETS.add_items(
|
||||||
"env:templates:targets",
|
|
||||||
[
|
[
|
||||||
(
|
(
|
||||||
os.path.join(self.name, "apps"),
|
os.path.join(self.name, "apps"),
|
||||||
@ -209,7 +208,7 @@ class BasePlugin:
|
|||||||
os.path.join(self.name, "build"),
|
os.path.join(self.name, "build"),
|
||||||
"plugins",
|
"plugins",
|
||||||
),
|
),
|
||||||
],
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
def _load_command(self) -> None:
|
def _load_command(self) -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user