CLI tool for submitting posts to WordPress through its REST API using curl.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

11 Zeilen
422 B

  1. #!/bin/bash
  2. EDITOR=vim
  3. TRANSFORM=('title' 'markdown') # empty or a subset of: 'title' 'markdown'
  4. USER="" # WP user to create the post
  5. PASSWORD="" # application password generated for your WP user
  6. SERVER="" # server hostname, optionally with subdirectories
  7. STATUS="draft" # one of publish,future,draft,pending,private
  8. CATEGORIES="" # comma separated integer IDs of categories
  9. TAGS="" # comma separated integer IDs of tags