Add completions for serve

See: https://github.com/zeit/serve
This commit is contained in:
Twinkle 2018-06-05 13:41:33 +08:00 committed by Fabian Homborg
parent b347b44d9e
commit 3b1806a904

View file

@ -0,0 +1,7 @@
# See: https://github.com/zeit/serve
complete -x -c serve -l help -s h -d "Shows help message"
complete -x -c serve -l version -s v -d "Displays the current version of serve"
complete -x -c serve -l listen -s l -d "Specify a URI endpoint on which to listen"
complete -x -c serve -l debug -s d -d "Show debugging information"
complete -x -c serve -l single -s s -d "Rewrite all not-found requests to `index.html`"