Giter Site home page Giter Site logo

wp-remote-cli's Introduction

WP Remote CLI

Manage your WordPress sites using WP Remote and WP-CLI.

Note: This is currently in beta. While we have a good sense of how it should work, we may rename methods, etc. as we refine it up until 1.0.

Until WP-CLI's package installer is complete, there are a couple of ways you can use WP Remote CLI:

  1. cd ~/.wp-cli; composer require humanmade/wp-remote-cli
  2. Clone the Git repo somewhere and load it with a wp-cli.yml file.

Currently, you'll need to run these commands inside of an existing WordPress install. We plan to eventually remove that dependency.

Authentication is via API key or HTTP Basic Auth. Both of these can be defined inside of wp-config.php so you don't need to specify them each time.

Feel free to open an issue with any questions you might have!

wp-remote-cli's People

Contributors

danielbachhuber avatar joehoyle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-remote-cli's Issues

Remove dependencies on WordPress

If we move away from WP functions, then this command can be run standalone without WordPress.

Dependencies:

  • wp_remote_request()
  • WP_Error
  • add_query_arg()
  • wp_remote_retrieve_response_code()
  • wp_remote_retrieve_body

Layout of the commands

We have the potential to have a lot of commands. As such, thinking through how we structure them will be important.

Here's the route I went down to start:

remote
    site-list
    site-add
    site-delete
    plugin-list
    plugin-install

Here's what we might consider instead:

wpr-site
    list
    add
    get
    delete
    refresh

wpr-plugin
    list
    install
    activate
    deactivate
    uninstall
    update

Any feedback or suggested alternatives?

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.