ponysay/completion/ponysay-tool
2016-08-27 01:42:13 -03:00

30 lines
1.8 KiB
Text
Executable file

(ponysay-tool
(multple unargumented
((options -h --help) (complete --help) (desc 'Show help summary'))
((options +h ++help --help-colour) (complete --help-colour) (desc 'Show help summary, with colour even if piped'))
((options -v --version) (complete --version) (desc 'Show version summary'))
)
(unargumented (options --kms) (complete --kms) (desc 'Pregenerate kmsponies for current tty palette'))
(argumented (options --edit) (complete --edit) (arg PONYFILE) (files -f *.pony) (desc 'Edit pony metadata'))
(argumented (options --edit-rm) (complete --edit-rm) (bind --edit) (desc 'Remove all pony metadata'))
(argumented (options --edit-stash) (complete --edit-stash) (bind --edit) (desc 'Print all pony metadata'))
(argumented (options --edit-apply) (complete --edit-apply) (bind --edit) (desc 'Replace all metadata with stash metadata'))
(argumented (options --dimensions) (complete --dimensions) (arg PONYDIR) (files -d) (desc 'Generate pony dimension file for a directory'))
(argumented (options --metadata) (complete --metadata) (arg PONYDIR) (files -d) (desc 'Generate pony metadata collection file for a directory'))
(argumented (options -b --browse) (complete --browse) (arg PONYDIR) (files -d) (desc 'Browse ponies in a directory'))
(argumented (options -r --restrict) (complete --restrict) (arg RESTRICTION) (suggest -r) (files -0) (desc 'Metadata based restriction for --browse'))
(suggestion -r (verbatim kind=KIND group=GROUP coat=COAT eye=EYE mane=MANE aura=AURA))
)