drush features-list-packagesfor drush 8x
Display a list of all existing features and packages available to be generated. If a package name is provided as an argument, then all of the configuration objects assigned to that package will be listed.
drush features-list-packages
features-list-packages is a Drush command from the features project.
features-
Aliases
features-list-packages has 1 alias/es:
drush fl
-
Arguments
features-list-packages accepts 1 argument/s:
package : The package to list. Optional; if specified, lists all configuration objects assigned to that package. If no package is specified, lists all of the features.
-
Options
features-list-packages accepts 18 option/s:
--bundle : Use a specific bundle namespace.
--format : Select output format. Available: json, csv, html, list, table, var_export, yaml. Default is json.
--fields : Fields to output.
--list-separator : Specify how elements in a list should be separated. In lists of lists, this applies to the elements in the inner lists.
--line-separator : In nested lists of lists, specify how the outer lists ("lines") should be separated.
--field-labels : Add field labels before first line of data. Default is on; use --no-field-labels to disable.
--format=json : Javascript Object Notation.
--format=config : A configuration file in executable php format. The variable name is "config", and the variable keys are taken from the output data array's keys.
--format=csv : A list of values, one per row, each of which is a comma-separated list of values.
--format=html : An HTML representation
--format=labeled-export : A list of php exports, labeled with a name.
--format=list : A simple list of values.
--format=php : A serialized php string.
--format=print-r : Output via php print_r function.
--format=table : A formatted, word-wrapped table.
--format=var_export : An array in executable php format.
--format=variables : A list of php variable assignments.
--format=yaml : Yaml output format.
-
Examples
Display a list of all existing featurea and packages available to be generated.
drush features-list-packages
Display a list of all configuration objects assigned to the 'example_article' package.
drush features-list-packages 'example_article'
-
Comments
comments powered by Disqus