summaryrefslogtreecommitdiff
path: root/cli.py
diff options
context:
space:
mode:
authorJuergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com>2017-01-26 10:04:27 +0100
committerJuergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com>2017-01-26 10:04:27 +0100
commitda32dd95bf0a05208af2992ffaa2ed5b238f7660 (patch)
treed1e572a94a44831b092b22ad9c652ff1efc3dee5 /cli.py
parent92da3cdc3b5136ebd27065cc38d02b1373625cf3 (diff)
downloadqtivi-qface-da32dd95bf0a05208af2992ffaa2ed5b238f7660.tar.gz
smaller cosmetics update and renamed searchpath for generator to search_path
Diffstat (limited to 'cli.py')
-rwxr-xr-xcli.py8
1 files changed, 4 insertions, 4 deletions
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: