vip dev-env shell [options]
Spawn a shell to run commands against a running local environment.
Options
Argument | Description |
---|---|
-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 (default value is php ) |
-s , --slug | Custom name of the dev environment |
-v , --version | Output the version number |
Examples
# Spawn a shell in a local environment $ vip dev-env shell # Spawn a shell in a local environment under root user $ vip dev-env shell -r # Run a `ls -lha` command in the shell of a local environment $ vip dev-env shell -- ls -lha # Run a `ls -lha` command in the shell of the database service in a local environment $ vip dev-env shell -S database -- ls -lha
Global Options
Argument | Description |
---|---|
-a , --app=<app> | Specify the app |
-d , --debug | Activate debug output |
-e , --env=<env> | Specify the environment |
-h , --help | Output the help for the (sub)command |
-v , --version | Output the version number |
-y , --yes | Run the command in production without a confirmation prompt |
Last updated: February 28, 2023