Problem/Motivation

The config export and import commands behave like the corresponding drush commands without any options.
The --diff option displays what in the config changes rather than just the name.
This is useful for dr as well but out of scope of the first command implementation.

Steps to reproduce

run dr config:export or dr config:import

Proposed resolution

add --diff option to both commands.
There is a good example in config_checkpoint_tools

Remaining tasks

refactor common methods into a trait.

User interface changes

added --diff option to dr commands

Introduced terminology

none

API changes

none

Data model changes

none

Release notes snippet

dr commands config:export and config:import now accept --diff option.

Issue fork drupal-3624650

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bircher created an issue. See original summary.

bircher’s picture

chaitanyadessai made their first commit to this issue’s fork.

chaitanyadessai’s picture

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Needs work
Issue tags: +Needs change record

Was AI used in the creation of this MR?

Will need a CR