Add option to `files_external:option` and `files_external:config` to remove a field
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
The Problem
Currently the files_external:option and files_external:config commands don't have a way to unset or remove a field. So if you accidentally add a field you have to do database trickery to remove it again.
Proposal
Add an option --remove FIELDNAME or --unset FIELDNAME to remove a field.
Contributor guide
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 implementations of the files_external:option and files_external:config commands and read how fields are currently added or updated. Check the existing command help and tests, if present, before deciding how the new removal option should be exposed. Done means a field can be removed through the command without database changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100