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
.actrc performs basic expansion, but its syntax is quite simple. I really appreciate its simplicity for making the format reliable and readable. However, one more functionality would be of great help in my view. It's Bash style multiline expression. In bash, \ is often used to escape newlines, splitting long expressions into multiple lines. I think act also could benefit from its power. This feature would be specifically useful in case of arguments like --container-option which may have long values.
As of now we have to:
--container-option --volume /path/to/somewhere:/var/run/something --privileged --gpus all
It would be much more readable if we could:
--container-option \
--volume /path/to/somewhere:/var/run/something \
--privileged \
--gpus all
Given that --container-option was first introduced with an initial intention of deprecating multiple parameters, it seems reasonable to assume the argument could grow pretty lengthy. For this reason, I suggest multiline expressions for .actrcs.
The text was updated successfully, but these errors were encountered:
Act version
0.2.74
Feature description
.actrc
performs basic expansion, but its syntax is quite simple. I really appreciate its simplicity for making the format reliable and readable. However, one more functionality would be of great help in my view. It's Bash style multiline expression. In bash,\
is often used to escape newlines, splitting long expressions into multiple lines. I think act also could benefit from its power. This feature would be specifically useful in case of arguments like--container-option
which may have long values.As of now we have to:
It would be much more readable if we could:
Given that
--container-option
was first introduced with an initial intention of deprecating multiple parameters, it seems reasonable to assume the argument could grow pretty lengthy. For this reason, I suggest multiline expressions for.actrc
s.The text was updated successfully, but these errors were encountered: