Executing an arbitrary shell command
A shell provides Developers direct access to the environment for debugging and standard operations e.g. password resets.
Usage
$ skpr exec dev -- echo Hello\ World\!
Hello World!
Other useful purposes:
If you’ve just deployed an environment and want to get your application up, you may like to run other commands.
skpr exec dev "drush updatedb -y"
skpr exec dev "drush cache:rebuild"
More Information
$ skpr exec --help
usage: skpr exec <environment> <command>...
Executes a bash command on the specified environment.
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
Args:
<environment> Source environment as configured in skipper.
<command> Command to execute on remote environment.
What's next?
After deleting an environment, consider one of the following: