exp:expmigrationremotelist
The remotes migrations can be deployed to (migration.ini [RemoteSettings]), with their groups and any problem of their settings; connects to none.
Script bin/php/expmigrationremotelist.php, code in kernel/private/classes/commands/expmigrationremotelist.php. Run it from the installation root, as the user the web server runs as:
./console exp:expmigrationremotelist --help
./console exp:migration:remote:list --help
php bin/php/expmigrationremotelist.php --helpHelp text
The remotes of migration deploys
Every remote of migration.ini ([RemoteSettings] RemoteList[], one [Remote_<id>] each): environment,
transport, address, credential (by name, never its value), groups, and what is wrong with its
settings. Connects to no remote and reads no secret.
./console exp:migration:remote:list
./console exp:migration:remote:list --remotes=production --format=jsonOptions
| Option | Value | Help |
|---|---|---|
--remotes | required | The remotes: ids or group names of [RemoteSettings] RemoteList[] in migration.ini, or all (a comma list or repeated) |
--format | required | text (default) or json (the machine output exp-migration/1) |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Related
Generated by ./console exp:help:examples from bin/php/expmigrationremotelist.php, kernel/private/classes/commands/expmigrationremotelist.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.