aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2021-04-01 13:29:39 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2021-04-01 13:29:39 -0400
commit6bee64ac64f28833f06efcebe832838d59ca3423 (patch)
treecead7e3a8e95c605988f68ff7ababb09e8dac306 /README.md
parenta4665aa3c580b7bb078dc537bf414419b9d65b73 (diff)
downloadjdtalk-6bee64ac64f28833f06efcebe832838d59ca3423.tar.gz
Add talkf formatter function
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9043083..582aaa8 100644
--- a/README.md
+++ b/README.md
@@ -31,10 +31,33 @@ $ ./jdtalk
## Usage
```bash
+-f --format Produce words with formatted string
-c --limit (default: 0)
-p --pattern Limit output to a root word
-e --exact Exact matches only (default: false)
+-s --salad Produce N random words
+ --rcase Randomize case (default: false)
+ --hcase Change every other case (default: false)
+ --leet 1337ify output (default: false)
-d --dataroot Path to dictionaries
-h --help This help information.
```
+# Formatters
+
+For use with `--format`
+
+* `%a` - Adjective
+* `%d` - Adverb
+* `%n` - Noun
+* `%v` - Verb
+
+## Example
+
+```bash
+$ jdtalk --fmt "%a%a%n%d%v"
+hexadecimal satiric reconnoitrer ultimately beef
+[...]
+```
+
+This is not a print function, however. `--format "Are you a nice %a %n? Go %v in the mirror."` will produce `hairy mouse runs`, not `Are you a nice hairy mouse? Go run in the mirror."`.