hurl/completions/hurlfmt.bash
2024-02-27 09:40:52 +01:00

16 lines
402 B
Bash

# 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