CLI tool for submitting posts to WordPress through its REST API using curl.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

il y a 3 ans
il y a 3 ans
il y a 3 ans
123456789101112131415161718192021
  1. # wordpress-rest-curl
  2. CLI tool for submitting posts to WordPress through its REST API using curl.
  3. ## Install
  4. ### WordPress
  5. Install [Application Passwords](https://wordpress.org/plugins/application-passwords/) plugin and follow its installation steps (i.e. create a new passowrd for your user).
  6. ### Local shell
  7. Make sure you have `curl` installed. If you want to enter text in markdown format, install `python-markdown2`.
  8. Create a config file `~/.config/wordpress-rest-curl/config.sh` from the `config.sh.template` file.
  9. Copy the posting script to e.g. `/usr/local/bin/wordpress-post` so that you can run it from anywhere.
  10. ## Usage
  11. * Run the script
  12. * Text editor opens. Type your post, save it.
  13. * Confirm the displayed post by pressing enter.
  14. * Done!