Dear Fediverse,
I am searching for a standard way to launch the user's preferred editor in a cross-platform manner from a Rust CLI tool.
In the "I only care about me" days I'd just run $VISUAL with the file, but I want to work with macos, windows, and perhaps even vscode etc.
Ideas? Fancy crates which already exist? Anything?
Halp!
=> More informations about this toot | More toots from kinnison@fosstodon.org
@kinnison There is the crate edit, https://docs.rs/edit/latest/edit/ that might be what you want?
=> More informations about this toot | More toots from Ganneff@fulda.social This content has been proxied by September (3851b).Proxy Information
text/gemini