Next: Universal Character Set, Previous: Languages, Up: Inner workings [Contents][Index]
To make it easier to write auto-completion for shells, ponysay
supports
the options --onelist, ++onelist, --Onelist and
--quoters, which has no short versions. To make it even easier we use
auto-auto-complete
(https://www.github.com/maandree/auto-auto-complete)
to generate auto-completion scripts, currently it supports bash
,
fish
and zsh
, the built system uses that program to generate
completion for each shell.
Executing ponysay --onelist
will list every available standard (MLP:FiM)
pony, independent of where it is located, the output is a sorted and consists only
of one pony per line.
Executing ponysay ++onelist
will list every available extra (non-MLP:FiM)
pony, independent of where it is located, the output is a sorted and consists only
of one pony per line.
Executing ponysay --Onelist
will list every available standard pony as
well as extra pony, independent of where it is located, the output is a sorted and
consists only of one pony per line.
ponysay --quoters
work just as ponysay --onelist
, excepts
it limits the ponies to those that have quotes. Ponies that have quotes,
but does not exist, i.e. does not have a .pony-file, are not listed.
Auto-completion scripts should not suggest these options.