summaryrefslogtreecommitdiff
path: root/examples/complex/complex/commands/cmd_status.py
blob: 99e736eee6cc8cad123f503bd8764c45a60830c8 (plain)
1
2
3
4
5
6
7
8
9
10
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')