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

textract path/to/some/file.extension

on any supported file type. Full documentation for the command line interface is available with the -h/--help command line option:

textract -h

To make the command line interface as usable as possible, autocompletion of available options with textract is enabled by @kislyuk’s amazing argcomplete package. Follow instructions to enable global autocomplete and you should be all set. As an example, this is also configured in the virtual machine provisioning for this project.