(self, updated)
| 106 | ) |
| 107 | |
| 108 | def configure(self, updated): |
| 109 | if "web_static_viewer" in updated and ctx.options.web_static_viewer: |
| 110 | flows = io.read_flows_from_paths([ctx.options.rfile]) |
| 111 | p = pathlib.Path(ctx.options.web_static_viewer).expanduser() |
| 112 | self.export(p, flows) |
| 113 | |
| 114 | def export(self, path: pathlib.Path, flows: Iterable[flow.Flow]) -> None: |
| 115 | save_static(path) |