Hooks for autocompletion in REPL?




Are there any hooks for defining autocompletion for my own functions? Suppose I have
func(enum::Symbol) and I enum can only have values :foo, :bar and :baz, is there a autocompletion hook somewhere in julia base that I can define such that after typing func(: in the REPL, \t will suggest :foo, :bar, and :baz, and autocomplete up to the point of ambiguity?