python-click/examples/complex/complex/commands/cmd_status.py

11 lines
277 B
Python
Raw Normal View History

2014-10-16 20:40:34 +02:00
import click
from complex.cli import pass_context
@click.command('status', short_help='Shows file changes.')
@pass_context
def cli(ctx):
"""Shows file changes in the current working directory."""
ctx.log('Changed files: none')
ctx.vlog('bla bla bla, debug info')