Skip to content

Cli Commands

Jürg Hunziker edited this page Jul 12, 2017 · 6 revisions

The rokka-wordpress-plugin provides cli-commands that can be executed via wp_cli. Following commands are available:

create_stack

Creates stack on rokka.

Options

  • --name=<stack-name> The name of the stack to create.
  • --width=<stack-width> The width of the stack to create.
  • --height=<stack-height> The height of the stack to create.
  • [--crop] Whether or not the stack should be cropped. Default: false (optional)
  • [--autoformat] Whether or not autoformat should be enabled on the stack. Default: false (optional)

Example

wp rokka create_stack --name=banner-large --width=1600 --height=700 --crop --autoformat

create_noop_stack

Creates noop stack (full size stack) on rokka.

Options

  • --name=<stack-name> The name of the stack to create. Default: full

Example

wp rokka create_noop_stack --name=full

Clone this wiki locally