Implement auto completion for the read command