(self, *args, **kwargs)
| 287 | |
| 288 | class OnChangeHookApp(cmd2.Cmd): |
| 289 | def __init__(self, *args, **kwargs) -> None: |
| 290 | super().__init__(*args, **kwargs) |
| 291 | self.add_settable(utils.Settable("quiet", bool, "my description", self, onchange_cb=self._onchange_quiet)) |
| 292 | |
| 293 | def _onchange_quiet(self, name, old, new) -> None: |
| 294 | """Runs when quiet is changed via set command""" |
nothing calls this directly
no test coverage detected