24 lines
550 B
Python
24 lines
550 B
Python
import click
|
|
|
|
@click.command(name='version')
|
|
@click.pass_obj
|
|
def run(app):
|
|
"""
|
|
> version
|
|
"""
|
|
on_version(app)
|
|
|
|
|
|
def on_version(app):
|
|
"""
|
|
> master version
|
|
"""
|
|
# if check_db_connect(app):
|
|
# version_type = 'Remote' if remote else 'Local'
|
|
# version = app.db_remote_version() if remote else app.db_local_version()
|
|
# message = '{} version : {}'.format(version_type, version if version else 'error')
|
|
|
|
# app.rprompt = message
|
|
# app.add_logs(message=message)
|
|
print('Not implemented')
|
|
|