handle inquirer types rawlist, expand