Thanks for the reply.
For the record, the example on how to add a button in the notebook toolbar is here
To write this extension, I would need to implement the function called when the new button is clicked. The steps are
- save the notebook
- read the metadata of the notebook where should be written (by the user) the command to be executed (with nice logging if the command is not found)
- execute the command on the server (with nice logging on error)
It seems doable but it’s not evident to me how to do that (especially because I don’t know JS/TypeScript). I’m going to look into the examples and documentations but some hints would be very appreciated