complete -c miniserve -l index -d 'The name of a directory index file to serve, like "index.html"' -r -F
complete -c miniserve -s p -l port -d 'Port to use' -r
complete -c miniserve -s i -l interfaces -d 'Interface to listen on' -r
complete -c miniserve -s a -l auth -d 'Set authentication. Currently supported formats: username:password, username:sha256:hash, username:sha512:hash (e.g. joe:123, joe:sha256:a665a45920422f9d417e4867efdc4fb8a04a1f3fff1fa07e998e86f7f7a27ae3)' -r
complete -c miniserve -s c -l color-scheme -d 'Default color scheme' -r -f -a "{squirrel	,archlinux	,zenburn	,monokai	}"
complete -c miniserve -s d -l color-scheme-dark -d 'Default color scheme' -r -f -a "{squirrel	,archlinux	,zenburn	,monokai	}"
complete -c miniserve -s t -l title -d 'Shown instead of host in page title and heading' -r
complete -c miniserve -l header -d 'Set custom header for responses' -r
complete -c miniserve -l print-completions -d 'Generate completion file for a shell' -r -f -a "{bash	,elvish	,fish	,powershell	,zsh	}"
complete -c miniserve -l tls-cert -d 'TLS certificate to use' -r -F
complete -c miniserve -l tls-key -d 'TLS private key to use' -r -F
complete -c miniserve -s h -l help -d 'Print help information'
complete -c miniserve -s V -l version -d 'Print version information'
complete -c miniserve -s v -l verbose -d 'Be verbose, includes emitting access logs'
complete -c miniserve -l spa -d 'Activate SPA (Single Page Application) mode'
complete -c miniserve -l random-route -d 'Generate a random 6-hexdigit route'
complete -c miniserve -s P -l no-symlinks -d 'Do not follow symbolic links'
complete -c miniserve -s H -l hidden -d 'Show hidden files'
complete -c miniserve -s q -l qrcode -d 'Enable QR code display'
complete -c miniserve -s u -l upload-files -d 'Enable file uploading'
complete -c miniserve -s o -l overwrite-files -d 'Enable overriding existing files during file upload'
complete -c miniserve -s r -l enable-tar -d 'Enable uncompressed tar archive generation'
complete -c miniserve -s g -l enable-tar-gz -d 'Enable gz-compressed tar archive generation'
complete -c miniserve -s z -l enable-zip -d 'Enable zip archive generation'
complete -c miniserve -s D -l dirs-first -d 'List directories first'
complete -c miniserve -s l -l show-symlink-info -d 'Show symlink info'
complete -c miniserve -s F -l hide-version-footer -d 'Hide version footer'
complete -c miniserve -s W -l show-wget-footer -d 'If enabled, display a wget command to recursively download the current directory'
