tss2_createnv 669 B

1234567891011121314151617181920212223
  1. # bash completion for tss2_createnv -*- shell-script -*-
  2. _tss2_createnv()
  3. {
  4. local cur prev words cword split
  5. _init_completion -s || return
  6. case $prev in
  7. -!(-*)h | --help)
  8. COMPREPLY=( $(compgen -W "man no-man" -- "$cur") )
  9. return;;
  10. -!(-*)[stpPa] | --size | --type | --path | --policyPath | --authValue)
  11. return;;
  12. esac
  13. $split && return
  14. COMPREPLY=( $(compgen -W "-h --help -v --version -P --policyPath=
  15. -p --path= -s --size= -t --type= -a --authValue=" -- "$cur") )
  16. [[ $COMPREPLY == *= ]] && compopt -o nospace
  17. } &&
  18. complete -F _tss2_createnv tss2_createnv
  19. # ex: filetype=sh