Skip to content

vip dev-env shell

Spawns a shell in a dev environment

Usage

vip dev-env-shell [options]

Options

OptionDescription
-d, --debug Activate debug output
-h, --help Output the help for the (sub)command
-r, --root Spawn a root shell
-S, --service Spawn a shell in a specific service (php if omitted)
-s, --slug Custom name of the dev environment
-v, --version Output the version number

Examples

- Spawns a shell in the dev environment
$ vip dev-env shell

- Spawns a shell in the dev environment under root user
$ vip dev-env shell -r

- Runs `ls -lha` command in the shell in the dev environment
$ vip dev-env shell -- ls -lha

- Runs `ls -lha` command in the shell of the database service in the dev environment
$ vip dev-env shell -S database -- ls -lha

Last updated: April 24, 2024