2
0
Fork 0
mirror of https://github.com/erkin/ponysay synced 2024-12-18 23:53:21 +00:00
ponysay/completion/ponysay-tool
2012-11-05 08:42:09 +01:00

30 lines
1.4 KiB
Text

(ponysay-tool
(multple unargumented
((option -h --help) (complete --help) (desc 'Show help summary'))
((option -v --version) (complete --version) (desc 'Show version summary'))
)
(unargumented (option --kms) (complete --kms) (desc 'Pregenerate kmsponies for current tty palette'))
(argumented (option --edit) (complete --edit) (arg PONYFILE) (files -f *.pony) (desc 'Edit pony metadata'))
(argumented (option --edit-rm) (complete --edit-rm) (bind --edit) (desc 'Remove all pony metadata'))
(argumented (option --edit-stash) (complete --edit-stash) (bind --edit) (desc 'Print all pony metadata'))
(argumented (option --edit-apply) (complete --edit-apply) (bind --edit) (desc 'Replace all metadata with stash metadata'))
(argumented (option --dimensions) (complete --dimensions) (arg PONYDIR) (files -d *) (desc 'Generate pony dimension file for a directory'))
(argumented (option --metadata) (complete --metadata) (arg PONYDIR) (files -d *) (desc 'Generate pony metadata collection file for a directory'))
(argumented (option -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)
)
)