#compdef extract-tokens

_types() {
  local types=(
    hash
    line
    path
    url
    word
    WORD
  )

  compadd "$@" $types
}

_arguments \
  '1:type:_types'
