v0.13.0
What's Changed
- Assorted cleanup by @tmck-code in #59
- use getopt for cli args by @tmck-code in #58
Full Changelog: v0.12.2...0.13.0
This release includes breaking changes to the CLI args! I'm deploying this as a pre-release so that I can test it before releasing to everyone.
Breaking Changes
All args now have two dashes at the beginning instead of one! e.g.
# before
echo w | pokesay -name pikachu
# after
echo w | pokesay --name pikachu
(See this PR for more details: #58)
New CLI Usage
Usage: pokesay [-bCfhjLlsuvW] [-c value] [-n value] [-t value] [-w value] [parameters ...]
-b, --info-border draw a border around the info box
-c, --category=value
choose a pokemon from a specific category
-C, --no-category-info
do not print pokemon category information in the info box
-f, --fastest run with the fastest possible configuration (--nowrap &
--notabspaces)
-h, --help display this help message
-j, --japanese-name
print the japanese name in the info box
-L, --list-categories
list all available categories
-l, --list-names list all available names
-n, --name=value choose a pokemon from a specific name
-s, --no-tab-spaces
do not replace tab characters (fastest)
-t, --tab-width=value
replace any tab characters with N spaces [4]
-u, --unicode-borders
use unicode characters to draw the border around the speech
box (and info box if --info-border is enabled)
-v, --verbose print verbose output
-W, --no-wrap disable text wrapping (fastest)
-w, --width=value the max speech bubble width [80]