Sooo.. it's a yaml-based bash DSL that manually cross-compiles back to .. bash?
It's probably clever, sure, but it seems like this would wind up more declarative than imperative?
It's probably clever, sure, but it seems like this would wind up more declarative than imperative?
1. Define your commands + flags + args in YAML (`bashly init` creates this YAML).
2. Bashly generates the standalone script and empty "placeholder" scripts for your actual bash code (`bashly generate`).
3. You plug in your bash code.
4. Bashly merges it all back to the same single final script (`bashly generate`).
5. Rinse and repeat.
What happens when I get to 5 and want to change an arg for cdm/foo? Does step 3 need to be repeated in its entirety?
I think this is a good minimal example:
https://github.com/DannyBen/bashly/tree/master/examples/mini...