

@cli_app.command('security-cleanup')
@click.option('--app', default='app', help='Your application init directory (package)')
@click.option('--appbuilder', default='appbuilder', help='your AppBuilder object')
def security_cleanup(app, appbuilder):
    '\n        Cleanup unused permissions from views and roles.\n    '
    _appbuilder = import_application(app, appbuilder)
    app.security_cleanup()
    click.echo(click.style('Finished security cleanup', fg='green'))

dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/console.py security_cleanup/VarMisuse@63/122 `_appbuilder`->`app`