[ 'runtime' => '=', 'file' => '', 'desc' => 'Path to the WordPress files.', ], 'url' => [ 'runtime' => '=', 'file' => '', 'desc' => 'Pretend request came from given URL. In multisite, this argument is how the target site is specified.', ], 'ssh' => [ 'runtime' => '=[:][@][:][]', 'file' => '[:][@][:][]', 'desc' => 'Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "docker-compose-run", "vagrant").', ], 'http' => [ 'runtime' => '=', 'file' => '', 'desc' => 'Perform operation against a remote WordPress installation over HTTP.', ], 'blog' => [ 'deprecated' => 'Use --url instead.', 'runtime' => '=', ], 'user' => [ 'runtime' => '=', 'file' => '', 'desc' => 'Set the WordPress user.', ], 'skip-plugins' => [ 'runtime' => '[=]', 'file' => '', 'desc' => 'Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded.', 'default' => '', ], 'skip-themes' => [ 'runtime' => '[=]', 'file' => '', 'desc' => 'Skip loading all themes, or a comma-separated list of themes.', 'default' => '', ], 'skip-packages' => [ 'runtime' => '', 'file' => '', 'desc' => 'Skip loading all installed packages.', 'default' => false, ], 'require' => [ 'runtime' => '=', 'file' => '', 'desc' => 'Load PHP file before running the command (may be used more than once).', 'multiple' => true, 'default' => [], ], 'exec' => [ 'runtime' => '=', 'file' => '', 'desc' => 'Execute PHP code before running the command (may be used more than once).', 'multiple' => true, 'default' => [], ], 'context' => [ 'runtime' => '=', 'file' => '', 'default' => 'cli', 'desc' => 'Load WordPress in a given context.', ], 'disabled_commands' => [ 'file' => '', 'default' => [], 'desc' => '(Sub)commands to disable.', ], 'color' => [ 'runtime' => true, 'file' => '', 'default' => 'auto', 'desc' => 'Whether to colorize the output.', ], 'debug' => [ 'runtime' => '[=]', 'file' => '', 'default' => false, 'desc' => 'Show all PHP errors and add verbosity to WP-CLI output. Built-in groups include: bootstrap, commandfactory, and help.', ], 'prompt' => [ 'runtime' => '[=]', 'file' => false, 'default' => false, 'desc' => 'Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.', ], 'quiet' => [ 'runtime' => '', 'file' => '', 'default' => false, 'desc' => 'Suppress informational messages.', ], 'apache_modules' => [ 'file' => '', 'desc' => 'List of Apache Modules that are to be reported as loaded.', 'multiple' => true, 'default' => [], ], # --allow-root => (NOT RECOMMENDED) Allow wp-cli to run as root. This poses # a security risk, so you probably do not want to do this. 'allow-root' => [ 'file' => false, # Explicit. Just in case the default changes. 'runtime' => '', 'hidden' => true, ], ];