jupyter-xeus / xeus-cling

Jupyter kernel for the C++ programming language
BSD 3-Clause "New" or "Revised" License
3.02k stars 292 forks source link

Add custom `help` for magic commands #465

Closed Hind-M closed 1 year ago

Hind-M commented 1 year ago

Add custom help for magic commands to avoid restarting the kernel. The default one implemented in argparse calls exit and makes the kernel restart. For the same reason, and because it's not really relevant for magic commands, the default version argument was removed (we could still add it if we wish). Two issues are a bit annoying when allowing to use help arguments: