deployer
deployer copied to clipboard
Add a way to escape {{braces}} so they are not getting replaced in commands
run(
'docker ps --all --format "{{.ID}}\t{{.Names}}"'
);
I tried to run a command containing {{.ID}} placeholders that are used in the docker compose ps formatting template, but these are picket up by the deployer parse function.
I would suggest to add the posibillity to excape the braces using , replace the variables and after that replace { to { for the command execution.
That way, i could write it like this:
run(
'docker ps --all --format "\{\{.ID\}\}\t\{\{.Names\}\}"'
);
Thank You.
Upvote & Fund
- We're using Polar.sh so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.