SysML-v2-Pilot-Implementation icon indicating copy to clipboard operation
SysML-v2-Pilot-Implementation copied to clipboard

[jupyter kernel] Feature request: add more magic commands

Open GorgiAstro opened this issue 1 year ago • 1 comments

It would be nice to have more magic commands in jupyter for managing a SysML project, for instance:

  • Not only committing to a SysMLV2 API server, but also pulling from it
  • Specifying a custom server URL to the %commit magic, not only using the default intercax.com servers.

GorgiAstro avatar Feb 16 '24 16:02 GorgiAstro

You can add a custom server in the kernel.json file: { "argv": [ "java", "-jar", "/home/caemh/miniconda3/envs/sysml/share/jupyter/kernels/sysml/jupyter-sysml-kernel-0.38.0-all.jar", "{connection_file}" ], "display_name": "SysML", "env": { "ISYSML_API_BASE_PATH": "http://localhost:9000" }, "interrupt_mode": "message", "language": "sysml" }

Change the ISYSML_API_BASE_PATH. But I agree, it could be easier :)

CThuleHansen avatar Mar 05 '24 15:03 CThuleHansen