2018-06-05 13:41:33 +08:00
|
|
|
# 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`"
|
2018-07-24 11:27:17 +08:00
|
|
|
complete -x -c serve -l config -s c -d "Specify custom path to `serve.json`"
|
|
|
|
complete -x -c serve -l no-clipboard -s n -d "Do not copy the local address to the clipboard"
|