#compdef reader

local arguments

_arguments -C \
  '-h[help for reader]' \
  '--help[help for reader]' \
  '--eml[input is EML (email) format]' \
  '-i[image mode (none/ansi/ansi-dither/kitty/sixel) (default "ansi")]:string:' \
  '--image-mode[image mode (none/ansi/ansi-dither/kitty/sixel) (default "ansi")]:string:' \
  '-o[disable pretty output, output raw markdown instead]' \
  '--markdown-output[disable pretty output, output raw markdown instead]' \
  '--no-cycletls[disable use of CycleTLS]' \
  '-r[disable making the HTML content readable]' \
  '--no-readability[disable making the HTML content readable]' \
  '--raw[output raw text]' \
  '-w[terminal width (0=auto)]:int:' \
  '--terminal-width[terminal width (0=auto)]:int:' \
  '-v[verbose output]' \
  '--verbose[verbose output]' \
  ':file:_files' \
  ':url:->html'

# _arguments -s -S $arguments
