Problem/Motivation

Part of #3582246: [meta] CLI in Core community initiative. Referenced from theCLI in Core Initiative spreadsheet.

Steps to reproduce

To be determined.

Proposed resolution

To be determined.

Remaining tasks

Determine manual testing steps for this command.

User interface changes

To be determined.

Introduced terminology

To be determined.

API changes

To be determined.

Data model changes

To be determined.

Release notes snippet

To be determined.

Issue fork drupal-3594336

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

mradcliffe created an issue. See original summary.

moshe weitzman’s picture

Assigned: Unassigned » moshe weitzman

I'll take this one.

moshe weitzman’s picture

Title: Add a command to inventory modules and themes on a site » Add a command to list modules and themes on a site
Status: Active » Needs review

A table listing modules and themes and their key properties. Also offers json and yaml as alternative output formats.

Needs review.

nicxvan’s picture

Is there a reason to not list profiles and database drivers too?

Themes and modules are the most common obviously.

nicxvan’s picture

Component: system.module » extension system
Status: Needs review » Needs work

A few questions and comments.

I could be convinced profile and database drivers should be a follow up, but I think it's probably not too much to include here.

Thanks for putting this together!

nicxvan’s picture

Moshe mentioned in slack that Drush doesn't support listing database drivers or profiles and has never had a request for it.

I think profiles might be useful, but it can be a follow up.

As for pm:info I created #3605796: Discuss creating a pm:info command

There is a CR, not sure if we want more detail on the options, but I think it's good.

Still need to manually test the options.

nicxvan’s picture

Status: Needs work » Reviewed & tested by the community

Ok I manually tested:
type for both options.
format for both options.
core
installed
and I tested package with Core and changed a module to use a test package and confirmed it works as well.