fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

lengyijunFixes #8924 via `__fish_complete_suffix` overhaulaa65856ee

master
2.0 KiB35 linesraw
1complete -x -c asciidoctor -k -a "(__fish_complete_suffix .asciidoc .adoc .ad .asc .txt)"
2
3# Security Settings
4complete -c asciidoctor -s B -l base-dir -d "Base directory containing the document"
5complete -x -c asciidoctor -s S -l safe-mode -a "unsafe safe server secure" -d "Set safe mode level"
6complete -c asciidoctor -l safe -d "Set safe mode level to safe"
7
8# Document Settings
9complete -c asciidoctor -s a -l attribute -d "Define a document attribute"
10complete -x -c asciidoctor -s b -l backend -a "html5 docbook5 manpage" -d "Backend output file format"
11complete -x -c asciidoctor -s d -l doctype -a "article book manpage inline" -d "Document type"
12
13# Document Conversion
14complete -c asciidoctor -s D -l destination-dir -d "Destination output directory"
15complete -c asciidoctor -s E -l template-engine -d "Template engine to use"
16complete -x -c asciidoctor -l eruby -a "erb erubis" -d "eRuby implementation to use"
17complete -c asciidoctor -s I -l load-path -d "Add a directory to the load path"
18complete -c asciidoctor -s n -l section-numbers -d "Auto-number section titles"
19complete -c asciidoctor -s o -l out-file -d "Output file"
20complete -c asciidoctor -s R -l source-dir -d "Source directory"
21complete -c asciidoctor -s r -l require -d "Require the specified library"
22complete -c asciidoctor -s s -l no-header-footer -d "Output an embedded document"
23complete -c asciidoctor -s T -l template-dir -d "A directory containing custom converter templates"
24
25# Processing Information
26complete -x -c asciidoctor -l failure-level -a "WARN ERROR INFO" -d "Minimum logging level"
27complete -c asciidoctor -s q -l quiet -d "Be quiet"
28complete -c asciidoctor -l trace -d "Include backtrace information"
29complete -c asciidoctor -s v -l verbose -d "Be verbose"
30complete -c asciidoctor -s w -l warnings -d "Turn on script warnings"
31complete -c asciidoctor -s t -l timings -d "Print timings report"
32
33# Program Information
34complete -x -c asciidoctor -s h -l help -a manpage -d "Print a help message"
35complete -c asciidoctor -s V -l version -d "Print program version"