Convert to AST_CLI_YESNO and AST_CLI_ONOFF