dorothy icon indicating copy to clipboard operation
dorothy copied to clipboard

Consider porting larger commands to Rust

Open balupton opened this issue 2 years ago • 0 comments

Considering we use several rust dependencies (ripgrep, sd, teip), and that rust binaries are more portable than bash scripts, it may make sense to port the larger commands to rust. This will allow distributing individual commands to users, including via marketplaces, which are becoming commonplace these days.

This is not confirmed, it is just a thread to initiate discussion.

Candidates would be flush-dns, setup-dns, setup-hosts, setup-util, secret, checksum

An alternative would be a bundler for bash files, we could distribute a command with everything it needs included inside it.

However, the problem with all this, is that command distribution does not solve the one key issue dorothy was created for, which is being a "normaliser" and "supercharger" for your development environment. Dorothy is essentially normalise.css at minimum, and twitter bootstrap in maximum.

balupton avatar May 15 '22 01:05 balupton