From da32dd95bf0a05208af2992ffaa2ed5b238f7660 Mon Sep 17 00:00:00 2001 From: Juergen Bocklage-Ryannel Date: Thu, 26 Jan 2017 10:04:27 +0100 Subject: smaller cosmetics update and renamed searchpath for generator to search_path --- cli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli.py') diff --git a/cli.py b/cli.py index 4bbeaa1..833df20 100755 --- a/cli.py +++ b/cli.py @@ -150,14 +150,14 @@ def _generate_reload(generator, input, output): event_handler.run() # run always once observer = Observer() path = generator.dirname().expand().abspath() - print('watch:', path) + click.secho('watch: {0}'.format(path), fg='blue') observer.schedule(event_handler, path, recursive=True) for entry in input: entry = entry.dirname().expand().abspath() - print('watch:', entry) + click.secho('watch: {0}'.format(entry), fg='blue') observer.schedule(event_handler, entry, recursive=True) path = Path(__file__).parent / 'qface' - print('watch:', path) + click.secho('watch: {0}'.format(path), fg='blue') observer.schedule(event_handler, path, recursive=True) observer.start() @@ -174,7 +174,7 @@ def _generate_reload(generator, input, output): def install(editable): """install the script onto the system using pip3""" script_dir = str(Path(__file__).parent.abspath()) - print(script_dir) + click.secho(script_dir, fg='blue') if editable: sh('pip3 install --editable {0} --upgrade'.format(script_dir)) else: -- cgit v1.2.3