@cli_app.command("babel-compile")
@click.option('--target', default='app/translations', help="The target directory where translations reside")
def babel_compile(target):
    click.echo(click.style('Starting Compile target:{0}'.format(target), fg='green'))
    os.popen('pybabel compile -f -d {0}'.format(target))
Babel, Compiles all translations
dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/console.py/babel_compile