Commit 19ae8726 authored by Andreas Mueller's avatar Andreas Mueller Committed by GitHub
Browse files

Added a part about the command-line tool in README (#189)

parents 16774180 fcbc8cb6
......@@ -53,6 +53,22 @@ Or run [examples/][masked] to see more options. A sample output is:
Getting fancy with some colors:
![Parrot with rainbow colors](examples/parrot.png)
## Command-line usage
The `` tool can be used to generate word clouds directly from the command-line:
$ --text mytext.txt --imagefile wordcloud.png
If you're dealing with PDF files, then `pdftotext`, included by default with many Linux distribution, comes in handy:
$ pdftotext mydocument.pdf - | --imagefile wordcloud.png
In the previous example, the `-` argument orders `pdftotext` to write the resulting text to stdout, which is then piped to the stdin of ``.
Use ` --help` so see all available options.
## Used in
### Reddit Cloud
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment