Skip to content

Repository files navigation

Overview

add-on registry tests last commit

This DDEV add-on installs shared host commands used by Cortier projects.

Commands

  • ddev api: Connect to or run a command in an API surface.
  • ddev app: Connect to or run a command in an app surface.
  • ddev admin: Connect to or run a command in an admin surface.
  • ddev shop: Connect to or run a command in a shop surface.
  • ddev launch: Open the current project's local URL.
  • ddev name: Print the DDEV project name without its final suffix.
  • ddev surface: Manage and use API, app, admin, and shop surface connections.
  • ddev url: Print URLs from .ddev/config.host.local.yaml.

Requirements

The target project must contain .ddev/config.host.local.yaml. The surface command also requires jq when it reads DDEV metadata.

API projects can connect to one app, one admin, and one shop. Each frontend can connect to one API; frontend-to-frontend connections are rejected. Connections are validated by project-name suffix, DDEV type, and reciprocal connection file.

Installation

Install the latest release:

ddev add-on get cortier/ddev-commands

Install the add-on from a local checkout:

ddev add-on get /path/to/ddev-commands

Run the installation command again to update the installed commands.

About

Shared DDEV host commands for Cortier projects

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages