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
When using the "run" command, Deployer prepends the host alias to every line. e.g. d dep run "'ls -la'" prod will output something like:
[prod] total 1056
[prod] drwxr-xr-x 17 user user 4096 Jan 16 11:58 .
[prod] drwxr-x--- 4 user user 4096 Jan 16 11:58 ..
[prod] drwxr-xr-x 6 user user 4096 Jan 16 11:55 file1.txt
[prod] -rw-r--r-- 1 user user 6035 Jan 16 11:55 file2.txt
Unfortunately this is polluting the actual output which I need. Is there a way to run a deployer command without polluting the actual output?
The use case is piping a database dump so adding a regex to strip each line isn't really a solution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When using the "run" command, Deployer prepends the host alias to every line. e.g.
d dep run "'ls -la'" prodwill output something like:Unfortunately this is polluting the actual output which I need. Is there a way to run a deployer command without polluting the actual output?
The use case is piping a database dump so adding a regex to strip each line isn't really a solution.
Beta Was this translation helpful? Give feedback.
All reactions