On Wednesday, 8 July 2020 at 10:15:17 UTC, Ogi wrote:
> Maybe we should add an option to rdmd that compile and run a
> string, importing std automatically? Writing one-liners would
> be as easy as
> rdmd -dscript 'writeln("hello, shell");'
Try rdmd --eval='writeln("hello, shell");'