-
Notifications
You must be signed in to change notification settings - Fork 3
Commands
ce-dev autocomplete [SHELL]ce-dev browsece-dev buildce-dev configce-dev createce-dev deployce-dev destroyce-dev help [COMMAND]ce-dev initce-dev provisionce-dev pullce-dev pushce-dev shell [CONTAINER]ce-dev startce-dev stop
display autocomplete installation instructions
USAGE
$ ce-dev autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ ce-dev autocomplete
$ ce-dev autocomplete bash
$ ce-dev autocomplete zsh
$ ce-dev autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
Open preset URL(s) in a browser
USAGE
$ ce-dev browse
EXAMPLE
$ ce-dev browse
See code: src/commands/browse.ts
Commit the existing containers as new docker images, and create a new docker-compose file referencing them.
USAGE
$ ce-dev build
OPTIONS
-d, --destination=destination [default: ce-dev.compose.prebuilt.yml] Path to the output docker-compose file, relative
to the project ce-dev folder.
-h, --help show CLI help
-r, --registry=registry Docker registry to use. This overrides the one defined in the source compose template.
-t, --template=template [default: ce-dev.compose.yml] Path to a docker-compose template file, relative to the
project ce-dev folder. WARNING: this must match the original one the project was
constructed with.
EXAMPLE
$ ce-dev build --template example.compose.yml
See code: src/commands/build.ts
Configure global user preferences.
USAGE
$ ce-dev config
OPTIONS
-g, --global Update global config instead of project one
EXAMPLE
$ ce-dev config
See code: src/commands/config.ts
Generates a new project from a template
USAGE
$ ce-dev create
OPTIONS
-d, --destination=destination Path to the project destination.
-h, --help show CLI help
-p, --project=project A unique name for your project. Because it is used in various places (db names, url,
etc), stick with lowercase alphanumeric chars.
-t, --template=template Name of a template: "drupal8"
EXAMPLE
$ ce-dev create --template drupal8 --project myproject
See code: src/commands/create.ts
Setup an app with Ansible playbooks.
USAGE
$ ce-dev deploy
EXAMPLE
$ ce-dev deploy example-app
See code: src/commands/deploy.ts
Destroy project's containers using docker-compose kill.
USAGE
$ ce-dev destroy
OPTIONS
-h, --help show CLI help
EXAMPLE
$ ce-dev destroy
See code: src/commands/destroy.ts
display help for ce-dev
USAGE
$ ce-dev help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
Generates a docker-compose.yml file from a template
USAGE
$ ce-dev init
OPTIONS
-h, --help show CLI help
-t, --template=template [default: ce-dev.compose.prebuilt.yml] path to a docker-compose template file, relative to
the project root
EXAMPLE
$ ce-dev init --template example.compose.yml
See code: src/commands/init.ts
Provision containers with Ansible playbooks.
USAGE
$ ce-dev provision
See code: src/commands/provision.ts
Pull images referenced in a compose file from a remote repository.
USAGE
$ ce-dev pull
OPTIONS
-a, --anonymous Do not prompt for login credentials.
-h, --help show CLI help
-p, --password=password Password to use to login against the Docker registry. Warning, this will appear in your shell
history in clear text.
-r, --registry=registry Docker registry to use. This overrides the one defined in the source compose template.
-t, --template=template [default: ce-dev.compose.prebuilt.yml] Path to a docker-compose template file, relative to
the project root. WARNING: this must match the original one the project was constructed with.
-u, --username=username Username to use to login against the Docker registry.
EXAMPLE
$ ce-dev pull --template example.compose.yml
See code: src/commands/pull.ts
Push images referenced in a compose file to a remote repository.
USAGE
$ ce-dev push
OPTIONS
-a, --anonymous Do not prompt for login credentials.
-h, --help show CLI help
-p, --password=password Password to use to login against the Docker registry. Warning, this will appear in your shell
history in clear text.
-r, --registry=registry Docker registry to use. This overrides the one defined in the source compose template.
-t, --template=template [default: ce-dev.compose.prebuilt.yml] Path to a docker-compose template file, relative to
the project root. WARNING: this must match the original one the project was constructed with.
-u, --username=username Username to use to login against the Docker registry.
EXAMPLE
$ ce-dev push --template example.compose.yml
See code: src/commands/push.ts
Open a shell session on the given container.
USAGE
$ ce-dev shell [CONTAINER]
ARGUMENTS
CONTAINER Name of the container to target. Use `docker ps` to see available containers.
OPTIONS
-h, --help show CLI help
EXAMPLE
$ ce-dev shell example-app
See code: src/commands/shell.ts
Spin up containers using docker-compose and update /etc/hosts file.
USAGE
$ ce-dev start
OPTIONS
-h, --help show CLI help
EXAMPLE
$ ce-dev start
See code: src/commands/start.ts
Stops running containers for a project.
USAGE
$ ce-dev stop
OPTIONS
-h, --help show CLI help
EXAMPLE
$ ce-dev stop
See code: src/commands/stop.ts