22 lines
355 B
Python
22 lines
355 B
Python
import click
|
|
|
|
@click.command(name='test')
|
|
@click.pass_obj
|
|
def run(app):
|
|
"""
|
|
> sdi-checker test
|
|
"""
|
|
on_test(app)
|
|
|
|
|
|
|
|
def on_test(app):
|
|
"""
|
|
Function for test
|
|
"""
|
|
app.echo('-' * 80)
|
|
app.echo('TEST')
|
|
app.echo('Config file: ' + app.config_file or 'no config file')
|
|
app.echo('Hello World!')
|
|
app.echo('-' * 80)
|
|
|