Re:Hush, a modern shell scripting language
by hussainbilal on Tuesday April 26, 2022 @07:49AM
(#31166301)
Side note: The most straightforward way to incoporate YAML as an elevated text "type" would be to define a new type of pipeable file descriptor on all commands, specifically meant for replacing shell script options / flags.
(That way options aren't mixed with stdin)
Edit: and you get typing validation for free by running your yaml options through a yaml schema validator should you choose to do so
Edit: and you get typing validation for free by running your yaml options through a yaml schema validator should you choose to do so