kedro-viz
kedro-viz copied to clipboard
Export without run
Description
Currently there's a --save-file
option in kedro viz run
that exports something (what exactly is unclear: https://github.com/kedro-org/kedro-viz/issues/1681)
Still, it's very weird that there's no option to just export the thing without actually running the web server.
Context
Potentially useful for users of the React component https://github.com/kedro-org/kedro-viz/issues/1745.
Possible Implementation
Have a fully documented kedro viz export
command that does the same as kedro viz run --save-file=...
without actually running the webserver, exiting immediately.
❯ kedro viz export ./spaceflights-viz
Exported to spaceflights-viz
❯ tree spaceflights-viz
...
Possible Alternatives
?
Checklist
- [x] Include labels so that we can categorise your feature request
Notice that this is not the same as kedro viz build
, which creates the whole HTML