Currently, ClickShell is not exported from click_shell, and it is also hardcoded in make_click_shell and Shell. This means that users of click-shell can not subclass ClickShell (and thus Cmd), for example to add custom precmd and postcmd handler.
I guess a straightforward way to implement this would be to allow parametrization of the ClickShell class in the above functions and to export its definition (of course, instead it can be imported from click_shell.core).
Currently, ClickShell is not exported from click_shell, and it is also hardcoded in make_click_shell and Shell. This means that users of click-shell can not subclass ClickShell (and thus Cmd), for example to add custom precmd and postcmd handler.
I guess a straightforward way to implement this would be to allow parametrization of the ClickShell class in the above functions and to export its definition (of course, instead it can be imported from click_shell.core).