--dry-run switch output includes associated url tags (#158)

pull/162/head
Chris Caron 5 years ago committed by GitHub
parent f0b19320c6
commit 44a21651b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -217,6 +217,8 @@ def main(body, title, config, urls, notification_type, theme, tag, dry_run,
click.echo("{: 3d}. {}".format(
idx + 1,
url if len(url) <= rows else '{}...'.format(url[:rows - 3])))
if server.tags:
click.echo("{} - {}".format(' ' * 5, ', '.join(server.tags)))
# Initialize a default response of nothing matched, otherwise
# if we matched at least one entry, we can return True

Loading…
Cancel
Save