Skip to content

Commit

Permalink
doc flag added
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatologist committed Mar 18, 2019
1 parent 9e03323 commit 4940ca1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions qrmine.py
Expand Up @@ -12,14 +12,16 @@
from src.ml_qrmine import MLQRMine

@click.command()
@click.option('--verbose', is_flag=True, help="Will print verbose messages.")
@click.option('--verbose', '-v', is_flag=True, help="Will print verbose messages.")
@click.option('--inp', '-i', multiple=True, default='',
help='Input file in the text format with <break> Topic </break>')
@click.option('--out', '-o', multiple=False, default='',
help='Output file name')
@click.option('--csv', '-c', multiple=False, default='',
help='csv file name')
def cli(verbose, inp, out, csv):
@click.option('--doc', '-d', multiple=True, default='',
help='Document(s) to analyze/compare')
def cli(verbose, inp, out, csv, doc):
if verbose:
click.echo("We are in the verbose mode.")
if out:
Expand Down

0 comments on commit 4940ca1

Please sign in to comment.