magento / magento/community-features
catalog:product:attributes:cleanup to include a --dry-run option
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 46
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
The command catalog:product:attributes:cleanup is very untransparent. There is no way for a customer to see what the end result would be. It could wipe out something that is not really meant to be clean.
My suggestion is to add a "--dry-run" option that will display a list of attributes that will eventually be cleaned up if run without it.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the implementation and any tests for the catalog:product:attributes:cleanup command, then run the command in a safe environment to understand its current output and cleanup behavior. Done means a --dry-run invocation lists the attributes that would be cleaned without performing the cleanup, while the existing invocation continues to clean them.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100