Skip to content

Commit

Permalink
finally getting command line interface to render in a reasonable way. c…
Browse files Browse the repository at this point in the history
…loses #36
  • Loading branch information
Dean Malmgren committed Aug 9, 2014
1 parent 0fff2f6 commit cd4cd57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
13 changes: 2 additions & 11 deletions docs/command_line_interface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,8 @@
Command line interface
======================

This package ships with the ``textract`` command, which embodies the
entire command line interface for this package. This command can be
run on any supported file by simply running

.. code-block:: bash
textract path/to/some/file.extension
on any :ref:`supported file type <supporting>`. Full documentation for
the command line interface is available with the ``-h/--help`` command
line option:
textract
--------

.. argparse::
:module: textract.cli
Expand Down
4 changes: 3 additions & 1 deletion textract/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ def get_parser():

# initialize the parser
parser = argparse.ArgumentParser(
description='Command line tool for extracting text from any document'
description=(
'Command line tool for extracting text from any document. '
) % locals(),
)

# define the command line options here
Expand Down

0 comments on commit cd4cd57

Please sign in to comment.