Closed Gkrumbach07 closed 2 years ago
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Gkrumbach07
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Related Issues and Dependencies
https://github.com/thoth-station/jupyterlab-requirements/issues/632
This introduces a breaking change
This Pull Request implements
The issue was that argparse is intended for a command line, and when --help or -h was being called, a sys.exit command was being called. Normally is this is finer, but jupyter cells dont like being closed that way. So now there is a custom argparse instance with exit that doesnt include sys.exit
Description
%horus help
command%horus --help
now works as expected