Skip to content

Add grouping by package type in list command - #243

Merged
thelovekesh merged 3 commits into
mainfrom
enhancement/ls-command
Jun 5, 2026
Merged

Add grouping by package type in list command#243
thelovekesh merged 3 commits into
mainfrom
enhancement/ls-command

Conversation

@thelovekesh

Copy link
Copy Markdown
Collaborator
  • Add grouping by package type
$ wpm ls
cli
├── plugin
│   ├── auto-cloudinary@1.3.1
│   ├── better-search-replace@1.4.10
│   ├── dinopack-for-elementor@1.0.8
│   │   └── elementor@4.1.1
│   ├── duplicate-post@4.6.0
│   ├── pantheon-advanced-page-cache@2.1.2
│   ├── redirection@5.7.5
│   ├── solr-power@2.6.0
│   ├── wordpress-seo@27.7.0
│   └── wp-redis@1.4.7
└── theme
    ├── astra@4.13.4
    └── twentytwentyfive@1.5.0
  • Add theme|plugin arg to list deps for a particular package type
$ wpm ls plugin
cli
└── plugin
    ├── auto-cloudinary@1.3.1
    ├── better-search-replace@1.4.10
    ├── dinopack-for-elementor@1.0.8
    │   └── elementor@4.1.1
    ├── duplicate-post@4.6.0
    ├── pantheon-advanced-page-cache@2.1.2
    ├── redirection@5.7.5
    ├── solr-power@2.6.0
    ├── wordpress-seo@27.7.0
    └── wp-redis@1.4.7

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

📦 wpm cli builds 📦

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the 'wpm ls' command to group direct dependencies by their package type (such as 'plugin', 'theme', or 'unknown'), adds support for filtering by type, introduces command aliases, and optimizes output rendering using a buffered writer. The review feedback correctly points out that manual edits were made inside the auto-generated marker block in 'docs/reference/cli/ls.md', which violates the project guidelines in 'CLAUDE.md' and will be overwritten by the documentation generator.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread docs/reference/cli/ls.md
@thelovekesh thelovekesh added the command any changes to the wpm cli command label Jun 5, 2026
@thelovekesh

Copy link
Copy Markdown
Collaborator Author

cc @ryanwelcher

@thelovekesh thelovekesh changed the title Add grouping by package type in deps list Add grouping by package type in list command Jun 5, 2026
@thelovekesh
thelovekesh merged commit 84b70a4 into main Jun 5, 2026
17 checks passed
@thelovekesh
thelovekesh deleted the enhancement/ls-command branch June 5, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command any changes to the wpm cli command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant