Ancestors

Toot

Written by Daniel Silverstone on 2024-11-30 at 11:27

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

Descendants

Written by Joerg Jaspert :debian: on 2024-11-30 at 11:54

@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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113571664680054855
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
253.222805 milliseconds
Gemini-to-HTML Time
0.749097 milliseconds

This content has been proxied by September (3851b).