add completion support and help support in CLI