mirror of
https://github.com/bower/bower.git
synced 2026-01-15 01:08:07 -05:00
Add --no-colors options to the help templates, add missing --no-colors to the uninstall.
This commit is contained in:
@@ -74,6 +74,9 @@ module.exports = function (names, options) {
|
||||
|
||||
module.exports.line = function (argv) {
|
||||
var options = nopt(optionTypes, shorthand, argv);
|
||||
|
||||
if (options.colors != null) template.showColors(options.colors);
|
||||
|
||||
if (options.help) return help('uninstall');
|
||||
var names = options.argv.remain.slice(1);
|
||||
|
||||
|
||||
@@ -3,6 +3,10 @@ Usage:
|
||||
|
||||
{{#cyan}}bower{{/cyan}} info {{#grey}}<pkg>{{/grey}}
|
||||
|
||||
Options:
|
||||
|
||||
{{#yellow}}--no-colors{{/yellow}} - do not print colors
|
||||
|
||||
Description:
|
||||
|
||||
Version info and description of a particular package.
|
||||
|
||||
@@ -10,6 +10,7 @@ Options:
|
||||
|
||||
{{#yellow}}--save{{/yellow}} - adds a dependency entry to a project's {{json}}
|
||||
{{#yellow}}--force{{/yellow}} - force fetching remote resources even if a local copy exists on disk
|
||||
{{#yellow}}--no-colors{{/yellow}} - do not print colors
|
||||
|
||||
Can specify one or more:
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ Options:
|
||||
|
||||
{{#yellow}}--map{{/yellow}} - Generates a deep dependency JSON source mapping
|
||||
{{#yellow}}--paths{{/yellow}} - Generates a simple JSON source mapping
|
||||
|
||||
{{#yellow}}--no-colors{{/yellow}} - do not print colors
|
||||
|
||||
Description:
|
||||
|
||||
|
||||
@@ -3,6 +3,10 @@ Usage:
|
||||
|
||||
{{#cyan}}bower{{/cyan}} lookup {{#grey}}<package>{{/grey}}
|
||||
|
||||
Options:
|
||||
|
||||
{{#yellow}}--no-colors{{/yellow}} - do not print colors
|
||||
|
||||
Description:
|
||||
|
||||
Looks up a package url by name
|
||||
|
||||
@@ -3,6 +3,10 @@ Usage:
|
||||
|
||||
{{#cyan}}bower{{/cyan}} register {{#cyan}}<name>{{/cyan}} {{#grey}}<url>{{/grey}}
|
||||
|
||||
Options:
|
||||
|
||||
{{#yellow}}--no-colors{{/yellow}} - do not print colors
|
||||
|
||||
Description:
|
||||
|
||||
Register a package.
|
||||
|
||||
@@ -4,6 +4,10 @@ Usage:
|
||||
{{#cyan}}bower{{/cyan}} search
|
||||
{{#cyan}}bower{{/cyan}} search {{#grey}}<name>{{/grey}}
|
||||
|
||||
Options:
|
||||
|
||||
{{#yellow}}--no-colors{{/yellow}} - do not print colors
|
||||
|
||||
Description:
|
||||
|
||||
Finds all packages or a specific package.
|
||||
|
||||
@@ -6,6 +6,7 @@ Usage:
|
||||
Options:
|
||||
|
||||
{{#yellow}}--save{{/yellow}} - adds a dependency entry to a project's {{json}}
|
||||
{{#yellow}}--no-colors{{/yellow}} - do not print colors
|
||||
|
||||
Can specify one or more:
|
||||
|
||||
|
||||
@@ -4,6 +4,10 @@ Usage:
|
||||
{{#cyan}}bower{{/cyan}} update
|
||||
{{#cyan}}bower{{/cyan}} update {{#grey}}<package>{{/grey}}
|
||||
|
||||
Options:
|
||||
|
||||
{{#yellow}}--no-colors{{/yellow}} - do not print colors
|
||||
|
||||
Description:
|
||||
|
||||
Refreshes a package install
|
||||
|
||||
@@ -3,6 +3,10 @@ Usage:
|
||||
|
||||
{{#cyan}}bower{{/cyan}} <command> {{#grey}}<options>{{/grey}}
|
||||
|
||||
Options:
|
||||
|
||||
{{#yellow}}--no-colors{{/yellow}} - do not print colors (available in all commands)
|
||||
|
||||
Commands:
|
||||
|
||||
{{commands}}
|
||||
|
||||
Reference in New Issue
Block a user