-
Patrick Thomson authored
Both `stack` and other package managers like `cargo` have an `--open` flag for the common case of opening documentation locally for inspection or reference. This patch adds such a flag, which when set tries to open the HTML file associated with the generated documentation, using `open` on macOS, `start` on Windows, and `xdg-open` on all other Unices. Fixes #7366.
Patrick Thomson authoredBoth `stack` and other package managers like `cargo` have an `--open` flag for the common case of opening documentation locally for inspection or reference. This patch adds such a flag, which when set tries to open the HTML file associated with the generated documentation, using `open` on macOS, `start` on Windows, and `xdg-open` on all other Unices. Fixes #7366.
Loading