Following up the #1272586: Increment or directly set version number with drush features-update, I would like to ask for the possibility to edit a feature name, description and package directly via the drush features-export command.
Example:
drush fe myfeature --name="My Feature Name" --description="Here is the description" --package="My Package" --version-set=7.x-1.0 [compontents]
should generate code:
core = "7.x"
name = "My Feature Name"
description = "Here is the description"
package = "My Package"
project = "myfeature"
version = "7.x-1.0"
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | features-new-options-1510610-7717313.patch | 3.38 KB | nathanjo |
| #5 | features-new-options-1510610-7717313.patch | 3.39 KB | nathanjo |
| #4 | features-new drush options-1510610-7717313.patch | 3.39 KB | nathanjo |
Comments
Comment #1
myselfhimself commented+1 for this feature request ! : )
The web feature create wizard yields no php version field while drush fe does. Is that field really useful ? Should it be added in drush fe's output ?
Comment #2
psegarel commentedSubscribe
Comment #3
nathanjo commentedThis will be great if we can push this feature request. This is really handy and serve its purpose when using drush; by able to pass its basic info.
Comment #4
nathanjo commentedComment #5
nathanjo commented--version-set is now exist, this patch address for --name, --package and --description,
Comment #6
nathanjo commentedRe-attaching correct patch.
Comment #6.0
nathanjo commentedclarify meaning
Comment #7
hefox commentedshould it be name-set, etc since it's version-set?
Or maybe a more generic way to set any .info file property...