- param = self.params.get(param)
- if not isinstance(param, bool):
- return []
- if separator:
- return [command_option + separator + (true_value if param else false_value)]
- return [command_option, true_value if param else false_value]
+ return cli_bool_option(self.params, command_option, param, true_value, false_value, separator)