Miss any of our Open RFC calls?Watch the recordings here! »

This package has been deprecated

Author message:

Package no longer supported. Use at your own risk.

@itinerisltd/wpom-cli

0.2.12 • Public • Published

@itinerisltd/wpom-cli

Manage WP Offload Media Stack

oclif Version Downloads/week License

Usage

$ 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

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

Keywords

Install

npm i @itinerisltd/wpom-cli

DownloadsWeekly Downloads

16

Version

0.2.12

License

MIT

Unpacked Size

26.2 kB

Total Files

28

Last publish

Collaborators

  • avatar
  • avatar