diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-04-01 13:29:39 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-04-01 13:29:39 -0400 |
commit | 6bee64ac64f28833f06efcebe832838d59ca3423 (patch) | |
tree | cead7e3a8e95c605988f68ff7ababb09e8dac306 /README.md | |
parent | a4665aa3c580b7bb078dc537bf414419b9d65b73 (diff) | |
download | jdtalk-6bee64ac64f28833f06efcebe832838d59ca3423.tar.gz |
Add talkf formatter function
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -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."`. |