CLI tool for submitting posts to WordPress through its REST API using curl.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

10 строки
348 B

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