refactor readline support
remove key from publish docs