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
The only way I could get piped commands to actually be captured, and then output it, was the following, which I'm sure could be done better, but was the only thing that worked for me - note I did try using the
.pipe($`someCommand`)
option, but no luck for me, lol! This allows me to just copy some stuff I try at the command line straight in as well, so not too bad :D
let it = (await $`cat db.template.sql | grep 'CREATE TABLE'`).stdout;
console.log(it);
Activity
thekartikeyamishra commentedon May 29, 2023
I would like to Collaborator on this issue can you assign me this .
antonmedv commentedon May 29, 2023
I am planning a big refactoring in the v8 so it's better to leave it for me right now.
stevage commentedon Jun 20, 2023
Just came here to request this.
Instead of
$.verbosethere should be a separate$.echo(print commands as they are run) and$.quiet(don't show output).fabianmarcus commentedon Sep 1, 2023
I am also interested in this feature. Otherwise it's not possible to quietly save values into variables. Its always printed out.
Zamiell commentedon Oct 28, 2023
I am eagerly awaiting version 8. In the mean time, can we add this foot gun to the Known Issues?