You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope I’m not intruding or anything. I literally just discovered your project and it’s everything I’ve always wanted from Docker! :)
Anyway if you’re ever looking for some inspiration for shell scripting, theres this project I’ve written a while back (and still use such personally every day, especially for quickly running hardcoded commands from the horribly verbose AWS CLI) that implements an indentation sensitive shell parser: https://github.com/colbyn/commands
Anyway just thought it may interest you (also I’ve been thinking about rewriting such in rust).
It doesn’t try to replace shell scripting in any way, rather the intention was to simply make writing such less verbose, and feel more modern (i.e. it supports multiline strings; which has been very convenient for CLI based SQL workflows). It’s crazy that in Docker I have to write scripts like this:
Since I think an indentation sensitive shell parser feels more natural (also with some higher order convenience utils, i.e. the from thing (not sure what to call it)):
Here is an example from a UI lib I'm currently working on (internal helper cmd):
from ./ss-web-utils do
try cargo publish
from ./ss-css-types do
try cargo publish
from ./ss-cssom-tree do
try cargo publish
from ./ss-trees do
try cargo publish
from ./ss-view-tree do
try cargo publish
from ./ss-dom-tree do
try cargo publish
from ./subscript do
try cargo publish
Or using ffmpeg (most of my real stuff usually spans hundreds of lines, which would quickly get very messy using traditional bash syntax):
I hope I’m not intruding or anything. I literally just discovered your project and it’s everything I’ve always wanted from Docker! :)
Anyway if you’re ever looking for some inspiration for shell scripting, theres this project I’ve written a while back (and still use such personally every day, especially for quickly running hardcoded commands from the horribly verbose AWS CLI) that implements an indentation sensitive shell parser: https://github.com/colbyn/commands
Anyway just thought it may interest you (also I’ve been thinking about rewriting such in rust).
It doesn’t try to replace shell scripting in any way, rather the intention was to simply make writing such less verbose, and feel more modern (i.e. it supports multiline strings; which has been very convenient for CLI based SQL workflows). It’s crazy that in Docker I have to write scripts like this:
Since I think an indentation sensitive shell parser feels more natural (also with some higher order convenience utils, i.e. the
from
thing (not sure what to call it)):Here is an example from a UI lib I'm currently working on (internal helper cmd):
Or using ffmpeg (most of my real stuff usually spans hundreds of lines, which would quickly get very messy using traditional bash syntax):
The text was updated successfully, but these errors were encountered: