Re:Astro 1.0 – a web framework for building fast, content-fo...
by firesloth on Saturday August 13, 2022 @04:34PM
(#32453540)
Actually another way to do nimscript is to make a config.nims file with tasks in it.
eg:
In config.nims:
switch("hints", "off")
task hello, "say hello world":
echo "hello world"
In bash: $ nim hello
hello world
eg:
edit:There's also the possibility of using nimscript, using nim e. It works similarly but you'd change the shebang line to something like