This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/drupal/console-en/translations/site.import.local.yml

21 lines
1 KiB
YAML
Raw Normal View History

2018-11-23 12:29:20 +00:00
description: 'Import/Configure an existing local Drupal project'
help: 'The <info>site:import:local</info> does create the yaml configuration file for a local existing site.'
arguments:
directory: 'Existing Drupal root directory'
name: 'Name that will be used to generate the site config'
options:
environment: 'Name of the environment that is going to be imported'
messages:
imported: 'The site has been imported successfully. You might want to run `drupal debug:site` to confirm that everything went well.'
error-missing: 'The directory "%s" does not exist.'
error-not-drupal: 'This is not a valid drupal root: "%s"'
error-writing: 'An error occurred while trying to write the config file: "%s"'
questions:
directory: 'Enter the directory name where to install Drupal'
name: 'Enter the name of the site'
environment: 'Enter the site environment name'
examples:
- description: 'Import local drupal project specifying the site name and the path'
execution:
drupal site:import:local SiteName /private/var/www/vhost/anexusit/drupal8.dev/web