Extract cli options to different ns