Coder Social home page Coder Social logo

wp-console's Introduction

WP Console

The WordPress CLI. A tool to generate boilerplate code, interact with and debug WordPress.

Releases Page

All notable changes to this project will be documented in the releases page

Install

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

Usage

Available commands:

  • 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

cache

  • cache:flush (cf) Flush the Wordpress object cache

container

  • container:debug (cod) Displays current services for an application..

create

  • create:users (cu) Create dummy users for your WordPress application.

debug

  • debug:chain (dc) List available chain files.
  • debug:container (dco) Displays current services for an application.
  • debug:multisite (dm) List all sites in network available to a specific user
  • debug:plugin (dp) Display current plugins available for 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:metabox (gm) Generate a meta box.
  • generate:plugin (gp) Generate a plugin.
  • generate:post:type (gpt) Generate a custom post type.
  • generate:shortcode (gs) Generate a shortcode.
  • generate:taxonomy (gta) Generate a custom taxonomy.
  • generate:theme (gth) Generate a theme.

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

theme

  • theme:activate (ta) Activate theme in the application

How to contribute

Fork

Fork your own copy of the WordPress Console repository to your account

Clone

Get a copy of your recently cloned version of console in your machine.

$ git clone [email protected]:[your-git-user-here]/wp-console.git

Configure a remote fork

$ git remote add upstream [email protected]:weknowinc/wp-console.git

Sync your fork

$ git fetch upstream
$ git merge upstream/master

Install composer dependencies

$ composer install.

Supporting Organizations

weKnow

Anexus

WordPress is a registered trademark of WordPress Foundation.

wp-console's People

Contributors

enzolutions avatar hjuarez20 avatar jmolivas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.