A WordPress CLI. A tool to generate boilerplate code, interact with and debug WordPress.
All notable changes to this project will be documented in the releases page
These instructions are intented for Unix, Linux, Mac OSX system, use sudo if you get permissions errors
curl https://weknowinc.com/wp-console/installer -L -o wordpress.phar
mv wordpress.phar /usr/local/bin/wordpress
chmod +x /usr/local/bin/wordpress
- about Display basic information about Wordpres Console project
- chain Chain command execution
- exec Execute an external command.
- help Displays help for a command
- init Copy configuration files.
- list Lists all available commands
- snippet Execute a php code inside wordpress
cache
- cache:flush (cf) Flush the Wordpress object cache
create
- create:users (cu) Create dummy users for your WordPress application.
- create:roles (crr) Create dummy roles for your Wordpress application.
database
- database:create (dbc) Create a new database.
- database:drop (dbd) Drop all tables in current or a given database and remove wp-config.php if current database.
debug
- debug:chain (dc) List available chain files.
- debug:container (dco) Displays current services for an application.
- debug:cron (dce) Displays current cron for the application
- debug:multisite (dm) List all sites in network available to a specific user
- debug:plugin (dp) Display current plugins available for application
- debug:roles (dusr) Displays current roles for the application
- debug:shortcode (ds) Displays current shortcodes in your WordPress application.
- debug:theme (dt) Display current themes available for application
generate
- generate:command (gc) Generate commands for the console.
- generate:cron:schedule (gcsh) Generate a schedule cron.
- generate:cron:single (gcs) Generate a single cron.
- generate:dashboard:widgets (gdw) Generate a new custom dashboard widgets.
- generate:menu (gm) Generate a menu.
- generate:metabox (gm) Generate a meta box.
- generate:plugin (gp) Generate a plugin.
- generate:post:type (gpt) Generate a custom post type.
- generate:quicktag (gqt) Generate a quicktag.
- generate:register:script (grsp) Generate a register style.
- generate:register:style (grst) Generate a register style.
- generate:settings:page (gsp) Generate a new custom settings page.
- generate:shortcode (gs) Generate a shortcode.
- generate:sidebar (gsb) Generate a sidebar.
- generate:taxonomy (gta) Generate a custom taxonomy.
- generate:theme (gth) Generate a theme.
- generate:toolbar (gtb) Generate a toolbar.
- generate:user:contact:methods (gucm) Generate a User contact methods.
- generate:widget (gwd) Generate a widgets.
multisite
- multisite:install (mi) Install a Wordpress multisite network
- multisite:new (mn) Add New Site a Wordpress multisite network
plugin
- plugin:activate (pa) Activate plugins or plugin in the application
- plugin:deactivate (pd) Deactivate plugins or plugin in the application
site
- site:install (si) Install a Wordpress project
role
- role:delete (rd) Delete roles for the application
- role:new (rn) Create roles for the application
settings
- settings:set Change a specific setting value in WordpressConsole config file
theme
- theme:activate (ta) Activate theme in the application
Fork your own copy of the WordPress Console repository to your account
Get a copy of your recently cloned version of console in your machine.
$ git clone [email protected]:[your-git-user-here]/wp-console.git
$ git remote add upstream [email protected]:weknowinc/wp-console.git
$ git fetch upstream
$ git merge upstream/master
$ composer install.
WordPress is a registered trademark of WordPress Foundation.
wp-console's People
Forkers
hjuarez20 jmolivas remediosaraya edutrul fusionx1 hu19891110 cjbtokyo trip09 rcg4u marcelovani fabolivarkwp-console's Issues
Have you heard of WP-CLI?
Hi!
Curious if you've heard of WP-CLI, the official CLI for WordPress?
If you haven't, we'd love to have you contribute your efforts to WP-CLI instead.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.