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"

Comments

myselfhimself’s picture

+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 ?

psegarel’s picture

Subscribe

nathanjo’s picture

This 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.

nathanjo’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
StatusFileSize
new3.39 KB
nathanjo’s picture

Status: Active » Needs review
StatusFileSize
new3.39 KB

--version-set is now exist, this patch address for --name, --package and --description,

nathanjo’s picture

StatusFileSize
new3.38 KB

Re-attaching correct patch.

nathanjo’s picture

Issue summary: View changes

clarify meaning

hefox’s picture

Issue summary: View changes

should it be name-set, etc since it's version-set?

Or maybe a more generic way to set any .info file property...