#compdef ponysay

_opts=(
    '(-h --help)'{-h,--help}"["'Show summary of options'"]"
    '(+h --help-colour)'{+h,--help-colour}"["'Show help summary, with colour even if piped'"]"
    '(-v --version)'{-v,--version}"["'Show version of program'"]"
    '(-c --compact)'{-c,--compact}"["'Compress message'"]"
    '(-l --list)'{-l,--list}"["'List all MLP:FiM ponies'"]"
    '(-L --symlist)'{-L,--symlist}"["'List all MLP:FiM ponies, with symlink mapping'"]"
    '(+l ++list)'{+l,++list}"["'List all non-MLP:FiM ponies'"]"
    '(+L ++symlist)'{+L,++symlist}"["'List all non-MLP:FiM ponies, with symlink mapping'"]"
    '(-A --all)'{-A,--all}"["'List all ponies'"]"
    '(+A --symall)'{+A,--symall}"["'List all ponies, with symlink mapping'"]"
    '(-b --balloonlist)'{-b,--balloonlist}"["'List all balloon styles'"]"": "":(  $( '/usr/bin/ponysay' --balloonlist )  )"
    '(-o --pony-only)'{-o,--pony-only}"["'Print just the pony'"]"
    '(-i --info)'{-i,--info}"["'Print pony metadata'"]"
    '(+i ++info)'{+i,++info}"["'Print pony metadata as a message'"]"
    '(-f --file --pony)'{-f,--file,--pony}"["'Specify the pony that should printed'"]"":PONY"":(  $( '/usr/bin/ponysay' --onelist )  )"
    '(+f ++file ++pony)'{+f,++file,++pony}"["'Specify the extrapony that should printed'"]"":PONY"":(  $( '/usr/bin/ponysay' ++onelist )  )"
    '(-F --any-pony)'{-F,--any-pony}"["'Specify the \[extra\]pony that should printed'"]"":PONY"":(  $( '/usr/bin/ponysay' --Onelist )  )"
    '(-q --quote)'{-q,--quote}"["'Specify the pony that should quote herself'"]"":PONY"":(  $( '/usr/bin/ponysay' --quoters )  )"
    '(-b --balloon)'{-b,--balloon}"["'Specify message balloon style'"]"":STYLE"":(  $( '/usr/bin/ponysay' --balloonlist )  )"
    '(-W --wrap)'{-W,--wrap}"["'Specify wrapping column'"]"":COLUMN"":(  none inherit 100 60  $(( $( (    stty size  <&2   |  cut -d ' ' -f 2  ) ) - 10 ))  )"
    '(+c --colour)'{+c,--colour}"["'Specify colour of the balloon, balloon link and message'"]"":ANSI-COLOUR"
    '(-r --restrict)'{-r,--restrict}"["'Restrict randomly selected ponies'"]"":RESTRICTION"":(  kind=KIND group=GROUP coat=COAT eye=EYE mane=MANE aura=AURA  )"
    )

_arguments "$_opts[@]"

