mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 15:38:25 +00:00
chore: Mark methods under job/step
This commit is contained in:
parent
7c653db703
commit
a8564f3991
@ -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"):
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user