fork/fish-shell

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

Johannes AltmanningerMerge branch 'completions-to-use-expanded-tokens'a9618477e

master
3.7 KiB38 linesraw
1# completion for mkdocs
2
3complete -f -c mkdocs -s h -l help -d 'Show help and exit'
4complete -f -c mkdocs -s v -l verbose -d 'Enable verbose output'
5complete -f -c mkdocs -s q -l quiet -d 'Silence warnings'
6complete -n 'not __fish_seen_subcommand_from build gh-deploy new serve' -f -c mkdocs -s V -l version -d 'Show the version and exit'
7
8## build
9complete -n 'not __fish_seen_subcommand_from build gh-deploy new serve' -f -c mkdocs -a build -d 'Build the MkDocs documentation'
10complete -n 'contains build (commandline -pxc)' -f -c mkdocs -s c -l clean -d 'Remove old site_dir before building (the default)'
11complete -n 'contains build (commandline -pxc)' -c mkdocs -s f -l config-file -r -d 'Provide a specific MkDocs config'
12complete -n 'contains build (commandline -pxc)' -f -c mkdocs -s s -l strict -d 'Enable strict mode. This will cause MkDocs to abort the build on any warnings'
13complete -n 'contains build (commandline -pxc)' -c mkdocs -s t -l theme -d 'The theme to use when building your documentation' -xa 'mkdocs readthedocs material'
14complete -n 'contains build (commandline -pxc)' -c mkdocs -s e -l theme-dir -r -d 'The theme directory to use when building your documentation'
15complete -n 'contains build (commandline -pxc)' -c mkdocs -s d -l site-dir -r -d 'The directory to output the result of the documentation build'
16
17## gh-deploy
18complete -n 'not __fish_seen_subcommand_from build gh-deploy new serve' -f -c mkdocs -a gh-deploy -d 'Deploy your documentation to GitHub Pages'
19complete -n 'contains gh-deploy (commandline -pxc)' -f -c mkdocs -s c -l clean -d 'Remove old site_dir before building (the default)'
20complete -n 'contains gh-deploy (commandline -pxc)' -c mkdocs -s f -l config-file -r -d 'Provide a specific MkDocs config'
21complete -n 'contains gh-deploy (commandline -pxc)' -f -c mkdocs -s m -l message -r -d 'A commit message to use when committing to the GitHub Pages remote branch'
22complete -n 'contains gh-deploy (commandline -pxc)' -f -c mkdocs -s b -l remote-branch -r -d 'The remote branch to commit to for GitHub Pages'
23complete -n 'contains gh-deploy (commandline -pxc)' -f -c mkdocs -s r -l remote-name -r -d 'The remote name to commit to for GitHub Pages'
24complete -n 'contains gh-deploy (commandline -pxc)' -f -c mkdocs -l force -d 'Force the push to the repository'
25
26## new
27complete -n 'not __fish_seen_subcommand_from build gh-deploy new serve' -f -c mkdocs -a new -r -d 'Create a new MkDocs project'
28
29## serve
30complete -n 'not __fish_seen_subcommand_from build gh-deploy new serve' -f -c mkdocs -a serve -d 'Run the builtin development server'
31complete -n 'contains serve (commandline -pxc)' -c mkdocs -s f -l config-file -r -d 'Provide a specific MkDocs config'
32complete -n 'contains serve (commandline -pxc)' -c mkdocs -s a -l dev-addr -r -d 'IP address and port to serve documentation locally (default: localhost:8000)'
33complete -n 'contains serve (commandline -pxc)' -f -c mkdocs -s s -l strict -d 'Enable strict mode. This will cause MkDocs to abort the build on any warnings'
34complete -n 'contains serve (commandline -pxc)' -c mkdocs -s t -l theme -d 'The theme to use when building your documentation' -xa 'mkdocs readthedocs material'
35complete -n 'contains serve (commandline -pxc)' -c mkdocs -s e -l theme-dir -r -d 'The theme directory to use when building your documentation'
36complete -n 'contains serve (commandline -pxc)' -f -c mkdocs -l livereload -d 'Enable the live reloading in the development server (this is the default)'
37complete -n 'contains serve (commandline -pxc)' -f -c mkdocs -l no-livereload -d 'Disable the live reloading in the development server'
38complete -n 'contains serve (commandline -pxc)' -f -c mkdocs -l dirtyreload -d 'Enable the live reloading in the development server, but only re-build files that have changed'