Raised: $0
0% of monthly goal Help us cross the finish line!
Goal: $12,000
Raised: $0 Goal: $12,000
0% of monthly goal Help us cross the finish line!
Sponsor DDEV

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.

add-on registry tests last commit release

DDEV drupalorg CLI

Overview

This add-on installs the drupalorg CLI in the web container of your DDEV project, for working with drupal.org issues, patches and merge requests from inside the container.

Installation

ddev add-on get davereid/ddev-drupalorg-cli
ddev restart

After installation, make sure to commit the .ddev directory to version control.

Usage

Command Description
ddev exec drupalorg list List the CLI’s commands
ddev exec drupalorg issue:show <nid> Show a drupal.org issue

Updating the CLI

The latest release is downloaded when the web image is built, and Docker caches it. To get a newer release:

ddev debug rebuild
ddev restart

Pinning a version

To install a specific release instead of the latest, create .ddev/docker-compose.drupalorg-cli-version.yaml:

services:
  web:
    build:
      args:
        DRUPALORG_CLI_VERSION: "0.15.1"

Then run ddev restart.

Removal

ddev add-on remove drupalorg-cli
ddev debug rebuild
ddev restart

Releases

Releases are made by release-please from conventional commits on main: fix: for a patch release, feat: for a minor one, and feat!: or a BREAKING CHANGE: footer for a major one. It keeps a release pull request open with the next version and changelog; merging it tags the release.

Credits

Contributed and maintained by @davereid

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.