-
Notifications
You must be signed in to change notification settings - Fork 2
Commands
Dionisio edited this page Jan 30, 2025
·
5 revisions
This is the full list of commands available in ce-dev 2.x
You can always execute
ce-dev --help
To see all the commands from the terminal window.
Open preset URL(s) in a browser
ce-dev browse
Generates a new project from a template
ce-dev create
Setup an app with Ansible playbooks
ce-dev deploy
Destroy project's containers using docker compose kill
ce-dev destroy
Run drush in the web container, only if the project is Drupal based.
USAGE
$ ce-dev drush COMMAND
ARGUMENTS
COMMAND Drush command to execute
EXAMPLES
$ ce-dev drush st
Display help for ce-dev
ce-dev help
Generates a docker-compose.yml file from a template
USAGE
$ ce-dev init [-h] [-t <value>]
FLAGS
-h, --help Show CLI help.
-t, --template=<value> [default: ce-dev.compose.prebuilt.yml] path to a docker compose template file, relative to the project root
EXAMPLES
$ ce-dev init --template example.compose.yml
Provision containers with Ansible playbooks.
ce-dev provision
Open a shell session on the given container. By default it opens the web container related to project.
USAGE
$ ce-dev shell [CONTAINER] [-h]
ARGUMENTS
CONTAINER Name of the container to target. Use `docker ps` to see available containers.
FLAGS
-h, --help Show CLI help.
EXAMPLES
$ ce-dev shell example-web
Spin up containers using docker compose and update /etc/hosts file.
ce-dev start
Stops running containers for a project.
ce-dev stop