Advertisement
SturmB

wp-cli on Plesk

Mar 24th, 2021
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.25 KB | None | 0 0
  1. NAME
  2.  
  3. wp
  4.  
  5. DESCRIPTION
  6.  
  7. Manage WordPress through the command-line.
  8.  
  9. SYNOPSIS
  10.  
  11. wp <command>
  12.  
  13. SUBCOMMANDS
  14.  
  15. admin-username Manage administrator username.
  16. cli Reviews current WP-CLI info, checks for updates, or
  17. views defined aliases.
  18. comment Creates, updates, deletes, and moderates comments.
  19. config Generates and reads the wp-config.php file.
  20. config-settings Manage config settings command
  21. core Downloads, installs, updates, and manages a WordPress
  22. installation.
  23. cron Tests, runs, and deletes WP-Cron events; manages WP-Cron
  24. schedules.
  25. db Performs basic database operations using credentials
  26. stored in wp-config.php.
  27. db-prefix Manage database prefix.
  28. help Gets help on WP-CLI, or on a specific command.
  29. instance Make init
  30. language Installs, activates, and manages language packs.
  31. maintenance-mode Activates, deactivates or checks the status of the
  32. maintenance mode of a site.
  33. menu Lists, creates, assigns, and deletes the active theme's
  34. navigation menus.
  35. network Perform network-wide operations.
  36. option Retrieves and sets site options, including plugin and
  37. WordPress settings.
  38. pingbacks Manage config settings command
  39. plugin Manages plugins, including installs, activations, and
  40. updates.
  41. post Manages posts, content, and meta.
  42. post-type Retrieves details on the site's registered post types.
  43. release Get release information
  44. rewrite Lists or flushes the site's rewrite rules, updates the
  45. permalink structure.
  46. search-replace Searches/replaces strings in the database.
  47. security-keys Manage WordPress config's security keys
  48. shortcode Manage shortcodes
  49. site Creates, deletes, empties, moderates, and lists one or
  50. more sites on a multisite installation.
  51. sitemap Manage sitemap
  52. taxonomy Retrieves information about registered taxonomies.
  53. term Manages taxonomy terms and term meta, with create,
  54. delete, and list commands.
  55. theme Manages themes, including installs, activations, and
  56. updates.
  57. user Manages users, along with their roles, capabilities, and
  58. meta.
  59. wpt-asset Extends for Plugin_Command \ Theme_Command
  60. wpt-cron
  61.  
  62.  
  63.  
  64. GLOBAL PARAMETERS
  65.  
  66. --path=<path>
  67. Path to the WordPress files.
  68.  
  69. --url=<url>
  70. Pretend request came from given URL. In multisite, this argument is how
  71. the target site is specified.
  72.  
  73. --ssh=[<scheme>:][<user>@]<host|container>[:<port>][<path>]
  74. Perform operation against a remote server over SSH (or a container using
  75. scheme of "docker", "docker-compose", "vagrant").
  76.  
  77. --http=<http>
  78. Perform operation against a remote WordPress installation over HTTP.
  79.  
  80. --user=<id|login|email>
  81. Set the WordPress user.
  82.  
  83. --skip-plugins[=<plugins>]
  84. Skip loading all plugins, or a comma-separated list of plugins. Note:
  85. mu-plugins are still loaded.
  86.  
  87. --skip-themes[=<themes>]
  88. Skip loading all themes, or a comma-separated list of themes.
  89.  
  90. --skip-packages
  91. Skip loading all installed packages.
  92.  
  93. --require=<path>
  94. Load PHP file before running the command (may be used more than once).
  95.  
  96. --[no-]color
  97. Whether to colorize the output.
  98.  
  99. --debug[=<group>]
  100. Show all PHP errors and add verbosity to WP-CLI output. Built-in groups
  101. include: bootstrap, commandfactory, and help.
  102.  
  103. --prompt[=<assoc>]
  104. Prompt the user to enter values for all command arguments, or a subset
  105. specified as comma-separated values.
  106.  
  107. --quiet
  108. Suppress informational messages.
  109.  
  110. Run 'wp help <command>' to get more information on a specific command.
  111.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement