hurl/completions/hurlfmt.bash

16 lines
402 B
Bash
Raw Normal View History

# hurlfmt(1) completion -*- shell-script -*-
_hurlfmt()
{
local cur prev words cword
_init_completion || return
if [[ $cur == -* ]]; then
COMPREPLY=($(compgen -W '--check --color --format --in-place --in --no-color --output --out --standalone --help --version' -- "$cur"))
return
fi
} &&
complete -F _hurlfmt hurlfmt
# ex: filetype=sh