libqrencode
libqrencode copied to clipboard
fish completions
Could fish completions be implemented. This would be an example.
complete -c qrencode -f
complete -c qrencode -s 8 -l 8bit -d "encode entire data in 8-bit mode. -k, -c and -i will be ignored."
complete -c qrencode -s c -l casesensitive -d "encode lower-case alphabet characters in 8-bit mode. (default)"
complete -c qrencode -s d -l dpi -r -f -d "specify the DPI of the generated PNG. (default=72)"
complete -c qrencode -s h -l help -d "display the help message. -h displays only the help of short options."
complete -c qrencode -s i -l ignorecase -d "ignore case distinctions and use only upper-case characters."
complete -c qrencode -s k -l kanji -d "assume that the input text contains kanji (shift-jis)."
complete -c qrencode -s l -l level -r -f -a "L M Q H" -d "specify error correction level from L (lowest) to H (highest). (default=L)"
complete -c qrencode -s m -l margin -r -f -d "specify the width of the margins. (default=4 (2 for Micro QR)))"
complete -c qrencode -s M -l micro -d "encode in a Micro QR Code"
complete -c qrencode -s o -l output -r -d "write image to FILENAME. If '-' is specified, the result will be output to standard output. If -S is given, structured symbols are written to FILENAME-01.png, FILENAME-02.png, ... (suffix is removed from FILENAME, if specified)"
complete -c qrencode -s r -l read-from -r -d "read input data from FILENAME."
complete -c qrencode -s s -l size -r -f -d "specify module size in dots (pixels). (default=3)"
complete -c qrencode -s S -l structured -d "make structured symbols. Version must be specified with '-v'."
complete -c qrencode -s t -l type -r -f -a "PNG PNG32 EPS SVG XPM ANSI ANSI256 ASCII ASCIIi UTF8 UTF8i ANSIUTF8 ANSIUTF8i ANSI256UTF8" -d "specify the type of the generated image. (default=PNG)"
complete -c qrencode -s v -l symversion -r -f -d "specify the minimum version of the symbol. See SYMBOL VERSIONS for more information. (default=auto)"
complete -c qrencode -s V -l version -d "display the version number and copyrights of the qrencode"
complete -c qrencode -l verbose -d "display verbose information to stderr."
complete -c qrencode -l svg-path -d "use single path to draw modules for SVG."
complete -c qrencode -l strict-version -d "disable automatic version number adjustment. If the input data is too large for the specified version, the program exits with the code of 1."
complete -c qrencode -l rle -d "enable run-length encoding for SVG."
complete -c qrencode -l inline -d "only useful for SVG output, generates an SVG without the XML tag."
complete -c qrencode -l foreground -r -f -d "specify foreground/background color in hexadecimal notation. 6-digit (RGB) or 8-digit (RGBA) form are supported. Color output support available only in PNG, EPS and SVG."
complete -c qrencode -l background -r -f -d "specify foreground/background color in hexadecimal notation. 6-digit (RGB) or 8-digit (RGBA) form are supported. Color output support available only in PNG, EPS and SVG."