[fix] get commands from all apps
This commit is contained in:
parent
8523ebe6a5
commit
110edcdc2d
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ def main():
|
|||
|
||||
def get_app_groups():
|
||||
ret = {}
|
||||
for app in ["frappe"]: #get_apps():
|
||||
for app in get_apps():
|
||||
app_group = get_app_group(app)
|
||||
if app_group:
|
||||
ret[app] = app_group
|
||||
|
|
@ -31,7 +31,7 @@ def get_app_group(app):
|
|||
@click.option('--verbose', is_flag=True, default=False, help='Verbose')
|
||||
@click.option('--force', is_flag=True, default=False, help='Force')
|
||||
@click.pass_context
|
||||
def app_group(ctx, site, force, verbose, profile):
|
||||
def app_group(ctx, site=False, force=False, verbose=False, profile=False):
|
||||
ctx.obj = {
|
||||
'sites': get_sites(site),
|
||||
'force': force,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue