forked from wp-cli/wp-cli.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal-parameters.html
More file actions
32 lines (29 loc) · 1.4 KB
/
global-parameters.html
File metadata and controls
32 lines (29 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<aside class="global-parameters">
<h3>Global Parameters</h3>
<p><code>--path=<path></code>
Path to the WordPress files.</p>
<p><code>--ssh=[<user>@]<host>[:<port>][<path>]</code>
Perform operation against a remote server over SSH.</p>
<p><code>--http=<http></code>
Perform operation against a remote WordPress install over HTTP.</p>
<p><code>--url=<url></code>
Pretend request came from given URL. In multisite, this argument is how the target site is specified.</p>
<p><code>--user=<id|login|email></code>
Set the WordPress user.</p>
<p><code>--skip-plugins[=<plugin>]</code>
Skip loading all or some plugins. Note: mu-plugins are still loaded.</p>
<p><code>--skip-themes[=<theme>]</code>
Skip loading all or some themes.</p>
<p><code>--skip-packages</code>
Skip loading all installed packages.</p>
<p><code>--require=<path></code>
Load PHP file before running the command (may be used more than once).</p>
<p><code>--[no-]color</code>
Whether to colorize the output.</p>
<p><code>--debug[=<group>]</code>
Show all PHP errors; add verbosity to WP-CLI bootstrap.</p>
<p><code>--prompt[=<assoc>]</code>
Prompt the user to enter values for all command arguments, or a subset specified as comma-separated values.</p>
<p><code>--quiet</code>
Suppress informational messages.</p>
</aside>