If somebody uses this in an actual system, it's terrifying.
edit oh, Rust is now a thing where even the bad ideas need to be praised without caveats. Gotcha
If somebody uses this in an actual system, it's terrifying.
edit oh, Rust is now a thing where even the bad ideas need to be praised without caveats. Gotcha
So many times, I've run into the issue where I've wanted to chain a set of commands with a concise syntax (specifically in Python) without having to shell out to bash.
What I really like about this library is that it gives you the concise composability of bash, without having to deal with its pitfalls (eg. variable escaping, lack of Windows support, clunky interface for anything that's not a command invocation...).
Using a DSL will always come with certain tradeoffs, and it won't be the best solution for every use case, but I think this library fills a certain need very well.
I’ve managed enough teams and enough code bases in my time to know that sometimes the smartest code is the least clever. If someone if finding the need to write a shell script in Rust then I’d suggest they need to re-evaluate the problem they’re trying to solve.