After a few more weeks of use, I've noticed that often I'll invoke a desk just to run a single command, and pop back out immediately afterwards. This PR adds a command called run that facilitates that usecase; it's basically an analogue to $SHELL -c.
Example usage:
$ desk
No desk activated.
[...]
$ desk run puppetry hiera
[puppet] Executing task 'update_hiera'
[puppet] sudo: update-hiera
[puppet] out: Already up-to-date.
[puppet] out:
Done.
Disconnecting from puppet... done.
$ desk
No desk activated.
Also in this PR is a change that allows arguments to be forwarded on to the shell process in .|go.
After a few more weeks of use, I've noticed that often I'll invoke a desk just to run a single command, and pop back out immediately afterwards. This PR adds a command called
run
that facilitates that usecase; it's basically an analogue to$SHELL -c
.Example usage:
Also in this PR is a change that allows arguments to be forwarded on to the shell process in
.|go
.