More validate module fixes (#39097)

* Fix type bool DOCUMENTATION issues
This commit is contained in:
John R Barker 2018-04-24 18:05:50 +01:00 committed by GitHub
parent b533ebe20d
commit 7c4b91844d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
118 changed files with 187 additions and 398 deletions

View file

@ -51,38 +51,38 @@ options:
version_added: "2.4"
description:
- Runs the specified command globally.
choices: [ true, false]
type: bool
default: false
aliases: [ global-command ]
prefer_source:
description:
- Forces installation from package sources when possible (see --prefer-source).
default: false
choices: [ true, false]
type: bool
aliases: [ prefer-source ]
prefer_dist:
description:
- Forces installation from package dist even for dev versions (see --prefer-dist).
default: false
choices: [ true, false]
type: bool
aliases: [ prefer-dist ]
no_dev:
description:
- Disables installation of require-dev packages (see --no-dev).
default: true
choices: [ true, false]
type: bool
aliases: [ no-dev ]
no_scripts:
description:
- Skips the execution of all scripts defined in composer.json (see --no-scripts).
default: false
choices: [ true, false]
type: bool
aliases: [ no-scripts ]
no_plugins:
description:
- Disables all plugins ( see --no-plugins ).
default: false
choices: [ true, false]
type: bool
aliases: [ no-plugins ]
optimize_autoloader:
description:
@ -90,14 +90,14 @@ options:
- Convert PSR-0/4 autoloading to classmap to get a faster autoloader.
- Recommended especially for production, but can take a bit of time to run.
default: true
choices: [ true, false]
type: bool
aliases: [ optimize-autoloader ]
ignore_platform_reqs:
version_added: "2.0"
description:
- Ignore php, hhvm, lib-* and ext-* requirements and force the installation even if the local machine does not fulfill these.
default: false
choices: [ true, false]
type: bool
aliases: [ ignore-platform-reqs ]
requirements:
- php

View file

@ -39,7 +39,7 @@ options:
description:
- Whether to include dependencies or not.
required: false
choices: [ "yes", "no" ]
type: bool
default: "yes"
repository:
description:
@ -50,7 +50,7 @@ options:
description:
- Install gem in user's local gems cache or for all users
required: false
choices: ["yes", "no"]
type: bool
default: "yes"
version_added: "1.3"
executable:

View file

@ -40,7 +40,7 @@ options:
- Install the node.js library globally
required: false
default: no
choices: [ "yes", "no" ]
type: bool
executable:
description:
- The executable location for npm.
@ -48,16 +48,16 @@ options:
required: false
ignore_scripts:
description:
- Use the --ignore-scripts flag when installing.
- Use the C(--ignore-scripts) flag when installing.
required: false
choices: [ "yes", "no" ]
type: bool
default: no
version_added: "1.8"
production:
description:
- Install dependencies in production mode, excluding devDependencies
required: false
choices: [ "yes", "no" ]
type: bool
default: no
registry:
description: