Is there a way to run a command inside a devspace as a one-liner without entering the devspace?

32 Views Asked by At

I'm using a development environment that is set up via devspace. Usually, I enter a devspace using devspace enter before I execute any commands.

I want to cat out the contents of a file -- let's say myFile.txt -- in the home folder of the devspace without using devspace enter. Is there a way I can do that using a one-liner?

0

There are 0 best solutions below