Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @itinerisltd/wpom-cli with all npm packages installed. Try it out:

var wpomCli = require("@itinerisltd/wpom-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@itinerisltd/wpom-cli v0.2.12

Manage WP Offload Media Stack

@itinerisltd/wpom-cli

Manage WP Offload Media Stack

oclif Version Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ npm install -g @itinerisltd/wpom-cli $ wpom COMMAND running command... $ wpom (-v|--version|version) @itinerisltd/wpom-cli/0.2.12 darwin-x64 node-v10.16.0 $ wpom --help [COMMAND] USAGE $ wpom COMMAND ... ``` # Commands * [`wpom create`](#wpom-create) * [`wpom help [COMMAND]`](#wpom-help-command) * [`wpom stack:create`](#wpom-stackcreate) * [`wpom stack:info`](#wpom-stackinfo)

wpom create

create CloudFormation stacks for WP Offload Media (with access keys)

USAGE
  $ wpom create

OPTIONS
  -e, --endpoint-base=endpoint-base  (required) endpoint base, e.g: https://xxx.execute-api.yyy.amazonaws.com/zzz]
  -h, --help                         show CLI help
  -k, --api-key=api-key              (required) api key
  -s, --site-key=site-key            (required) site key, format: ^[a-z0-9\-]+$, e.g: i-am-example-123

EXAMPLES
  $ wpom create --site-key my-awsome-site --endpoint-base https://xxx.execute-api.yyy.amazonaws.com/zzz --api-key 
  xxxyyyzzz
  $ npx @itinerisltd/wpom-cli create --site-key my-awsome-site --endpoint-base 
  https://xxx.execute-api.yyy.amazonaws.com/zzz --api-key xxxyyyzzz

See code: src/commands/create.ts

wpom help [COMMAND]

display help for wpom

USAGE
  $ wpom help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

wpom stack:create

create CloudFormation stacks for WP Offload Media (without access keys)

USAGE
  $ wpom stack:create

OPTIONS
  -e, --endpoint-base=endpoint-base  (required) endpoint base, e.g: https://xxx.execute-api.yyy.amazonaws.com/zzz]
  -h, --help                         show CLI help
  -k, --api-key=api-key              (required) api key
  -s, --site-key=site-key            (required) site key, format: ^[a-z0-9\-]+$, e.g: i-am-example-123

EXAMPLES
  $ wpom stack:create --site-key my-awsome-site --endpoint-base https://xxx.execute-api.yyy.amazonaws.com/zzz --api-key 
  xxxyyyzzz
  $ npx @itinerisltd/wpom-cli stack:create --site-key my-awsome-site --endpoint-base 
  https://xxx.execute-api.yyy.amazonaws.com/zzz --api-key xxxyyyzzz

See code: src/commands/stack/create.ts

wpom stack:info

show CloudFormation stack information

USAGE
  $ wpom stack:info

OPTIONS
  -e, --endpoint-base=endpoint-base  (required) endpoint base, e.g: https://xxx.execute-api.yyy.amazonaws.com/zzz]
  -h, --help                         show CLI help
  -k, --api-key=api-key              (required) api key
  -n, --stack-name=stack-name        (required) stack name, e.g: i-am-example-123

EXAMPLES
  $ wpom stack:info --stack-name wpom-my-awsome-site --endpoint-base https://xxx.execute-api.yyy.amazonaws.com/zzz 
  --api-key xxxyyyzzz
  $ npx @itinerisltd/wpom-cli stack:info --stack-name wpom-my-awsome-site --endpoint-base 
  https://xxx.execute-api.yyy.amazonaws.com/zzz --api-key xxxyyyzzz

See code: src/commands/stack/info.ts

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free