Skip to content
Permalink
Browse files

Merge remote-tracking branch 'upstream/master'

  • Loading branch information...
enzo - Eduardo Garcia
enzo - Eduardo Garcia committed May 17, 2019
2 parents abfcf2f + b87afc1 commit d18dfe670c73219c86d93a3e9ed02de827688d4d
@@ -0,0 +1,27 @@
description: 'Export a specific config entity and their fields.'
arguments:
entity-type: 'An entity type (node_type, taxonomy_vocabulary, paragraphs_type) to be exported'
bundle: 'A bundle to be exported'
questions:
entity-type: 'Select entity type'
bundle: 'A bundle to be exported'
remove-uuid: 'The bundle to be exported without uuid key.'
optional-config: 'Export the bundle in the module as an optional configuration'
remove-config-hash: 'The bundle to be exported without the default site hash key.'
messages:
content-type-exported: 'Exporting bundle'
options:
optional-config: 'Export bundle as an optional YAML configuration in your module'
remove-uuid: 'If set, the configuration will be exported without uuid key.'
remove-config-hash: 'If set, the configuration will be exported without the default site hash key.'
examples:
- description: 'Provide an entity type, a bundle and a module name'
execution: |
drupal config:export:entity node_type page \
--module="demo"
- description: 'If you want export a bundle as an optional config'
execution: |
drupal config:export:entity node_type page \
--module="demo" \
--optional-config
@@ -1,6 +1,7 @@
description: 'Launch a DB client if it''s available'
arguments:
database: "Database key from settings.php"
database: 'Database key from settings.php'
target: 'Database target from settings.php'
messages:
connection: 'Connection: "%s"'
examples:
@@ -1,9 +1,11 @@
description: 'Dump structure and contents of a database'
arguments:
database: 'Database key from settings.php'
target: 'Database target from settings.php'
options:
file: 'The filename for your database backup'
gz: 'Pass this option if you want the sql result file gzipped'
exclude-cache: 'Pass this option if you want to exclude cache tables.'
messages:
success: 'Database exported to:'
examples:
@@ -9,4 +9,5 @@ messages:
message: Message
user: User
severity: Severity
invalid-severity: 'Severity type is invalid, filter was ignored'
invalid-severity: 'Severity type is invalid, filter was ignored'
user-deleted: 'User has been deleted'
@@ -2,6 +2,7 @@ description: 'Executes a SQL statement directly as argument'
arguments:
query: 'The SQL statement to execute'
database: 'Database key from settings.php'
target: 'Database target from settings.php'
options:
quick: 'Do not cache each query result, print each row as it is received'
debug: 'Prints debugging information and memory and CPU usage statistics when the program exits'
@@ -1,8 +1,9 @@
description: 'Restore structure and contents of a database.'
arguments:
database: 'Database key from settings.php'
target: 'Database target from settings.php'
options:
file: 'The filename for your database backup file. If using a .sql.gz file, the gunzip command needs to be installed.'
file: 'The filename for your database backup file (absolute path) . If using a .sql.gz file, the gunzip command needs to be installed.'
messages:
success: 'Database imported from:'
no-file: 'Missing file option'
@@ -4,15 +4,15 @@ welcome: 'Welcome to the Drupal Plugin Block generator'
options:
module: 'The Module name.'
class: 'Plugin class name'
label: 'Plugin label'
plugin-label: 'Plugin label'
plugin-id: 'Plugin id'
inputs: 'Create inputs in a form.'
services: 'Load services from the container.'
theme-region: 'Theme region to render Plugin Block'
questions:
module: 'Enter the module name'
class: 'Enter the plugin class name'
label: 'Enter the plugin label'
plugin-label: 'Enter the plugin label'
plugin-id: 'Enter the plugin id'
services: 'Enter your service'
theme-region: 'Enter the theme region to render the Plugin Block.'
@@ -0,0 +1,20 @@
description: 'Generate a migrate data parser'
help: 'The <info>generate:plugin:migrate:dataparser</info> command helps you generate a new migrate data parser.'
welcome: 'Welcome to the Drupal Migrate Data Parser generator'
options:
module: 'The Module name.'
class: 'Plugin class name'
plugin-id: 'Plugin id'
plugin-title: 'Plugin title'
questions:
class: 'Enter the plugin class name'
plugin-id: 'Enter the plugin id'
plugin-title: 'Enter the plugin title'
examples:
- description: 'Generate a migration data parser specifying the module name, the class, the plugin id and the plugin title'
execution: |
drupal generate:plugin:migrate:source \
--module="modulename" \
--class="PluginClassName" \
--plugin-id="plugin_class_name" \
--plugin-title="Data parser"
@@ -8,7 +8,8 @@ options:
host: 'The ip/domain name of the remote system. Not required on local sites.'
port: 'The port to use when connecting via ssh.'
user: 'The username to use when connecting via ssh.'
extra-options: 'Used only when the target requires extra options, such as alternative authentication method and/or alternative identity file.'
drupal-console-binary: 'The name of your drupal console binary. By default is "drupal"'
extra-options: 'Used only when the target requires extra options, such as tty option and/or alternative authentication method and/or alternative identity file.'
site-uri: 'Drupal uri (for multi-sites).'
directory: 'Directory to store the generated site alias.'
site: 'Use local site as destination.'
@@ -20,6 +21,22 @@ questions:
host: 'Enter the ip/domain name of the remote system.'
port: 'Enter the port to use when connecting via ssh.'
user: 'Enter the username to use when connecting via ssh.'
drupal-console-binary: 'Enter the name of your drupal console binary'
extra-options: 'Select or enter a valid extra option.'
site-uri: 'Enter the Drupal uri (for multi-sites).'
directory: 'Select the directory to store the generated site alias.'
examples:
- description: 'Generate site alias to connect with ssh using tty as extra-option'
execution: |
drupal generate:site:alias \
--name="demo" \
--environment="dev" \
--type="ssh" \
--composer-root="/path/to/remote/project" \
--site-uri="default" \
--host="hostName/domain" \
--user="userName" \
--port="port" \
--drupal-console-binary="drupal" \
--extra-options="-tt" \
--directory="/Users/hjuarez/drupalSq/console/"
@@ -2,6 +2,7 @@ description: 'Install a Drupal project'
arguments:
profile: 'Drupal Profile to be installed'
langcode: 'Drupal language'
db-url: 'Use Database url to the installation instead of using the options. (Sqlite is not supported)'
db-type: 'Drupal Database type to be used in install'
db-file: 'Drupal Database file to be used in install'
site-name: 'Drupal site name'
@@ -26,9 +27,12 @@ messages:
installed: 'Your Drupal 8 installation was completed successfully'
using-current-database: 'Using "%s" database with name "%s" and user "%s"'
already-installed: 'Drupal is already installed, try dropping your database executing database:drop or install executing site:install --force --no-interaction'
connection-failed: 'Connection to the database failed, please check your settings file that has the correct username, password, database, host, port configured.'
sites-backup: 'The sites.php file has temporarily been renamed to backup.sites.php while Drupal installs.'
sites-restore: 'The backup of sites.php has been been restored to sites.php.'
invalid-multisite: 'Invalid multisite, please create multisite using command drupal multisite:new "%s" "%s"'
invalid-db-url: 'Invalid database url, please provide a valid url like "mysql://dbUser:dbPass@dbHost/dbName"'
invalid-url-driver: 'Invalid database type, the Sqlite driver is not supported'
examples:
- description: 'Install a drupal project specifying installation type, language code, database configuration, site name, site email and admin credential settings'
execution: |
@@ -45,4 +49,13 @@ examples:
--account-name="admin" \
--account-mail="admin@example.com" \
--account-pass="p455w0rd"
- description: 'Install a drupal project using a mysql url'
execution: |
drupal site:install standard mysql://dbUser:dbPass@dbHost/dbName \
--langcode="en" \
--site-name="Drupal 8" \
--site-mail="admin@example.com" \
--account-name="admin" \
--account-mail="admin@example.com" \
--account-pass="p455w0rd"
@@ -1,13 +1,20 @@
description: 'Execute a specific Update N function in a module, or execute all'
questions:
update: 'Do you want to run the specified pending updates?'
post-update: 'Do you want to run the specified pending post updates?'
arguments:
module: 'Module name'
update-n: 'Specific Update N function to be executed'
messages:
no-module-updates: 'There aren''t updates available for module "%s"'
executing-update: 'Executing update function "%s" of module "%s"'
executing-post-update: 'Executing post update function "%s" of module "%s"'
module-update-function-not-found: 'Module "%s" doesn''t have a function update for "%s"'
executing-required-previous-updates: 'Executing required previous updates'
no-pending-updates: 'There aren''t updates available'
no-pending-post-updates: 'There aren''t post updates available'
pending-post-updates: 'There are the following post updates available:'
pending-updates: 'There are the following updates available:'
examples:
- description: 'Execute all updates'
execution: |

0 comments on commit d18dfe6

Please sign in to comment.
You can’t perform that action at this time.