diff --git a/bench/bench.py b/bench/bench.py index c9e16086..f845906e 100644 --- a/bench/bench.py +++ b/bench/bench.py @@ -125,6 +125,7 @@ class Bench(Base, Validator): # build assets & stuff run_frappe_cmd("build", bench_path=self.name) + @step(title="Reloading Bench Processes", success="Bench Processes Reloaded") def reload(self): conf = self.conf if conf.get("restart_supervisor_on_update"): diff --git a/bench/utils/cli.py b/bench/utils/cli.py index ee81d220..66cbb766 100644 --- a/bench/utils/cli.py +++ b/bench/utils/cli.py @@ -34,6 +34,8 @@ class MultiCommandGroup(click.Group): def use_experimental_feature(ctx, param, value): + if not value: + return if value == "dynamic-feed": import bench.cli bench.cli.dynamic_feed = True diff --git a/bench/utils/system.py b/bench/utils/system.py index 6d741b3d..c232744c 100644 --- a/bench/utils/system.py +++ b/bench/utils/system.py @@ -16,8 +16,10 @@ from bench.utils import ( which, ) from bench.utils.bench import build_assets, clone_apps_from +from bench.utils.render import job +@job(title="Initializing Bench {path}", success="Bench {path} initialized") def init( path, apps_path=None,