nanobox icon indicating copy to clipboard operation
nanobox copied to clipboard

run one-off remote commands

Open jaydev opened this issue 8 years ago • 1 comments
trafficstars

Currently, if I want to run a single command on a remote server, I first have to console into that server and run the desired command.

It would be nice if I could accomplish all that in one step by passing the command in the nanobox console call. My proposed syntax for the command is along these lines:

nanobox console <component> -c <command>

And stdout/stderr would be streamed back to my terminal until the command is finished running.

jaydev avatar Nov 01 '17 21:11 jaydev

We already do something very similar with nanobox run <command>. Doing the same with nanobox console makes a lot of sense. I'd even drop the -c, myself.

danhunsaker avatar Nov 02 '17 00:11 danhunsaker