buttercms-cli

0.0.4 • Public • Published

Quickly launch new projects integrated with ButterCMS

oclif Version Downloads/week License

Supported Languages + Frameworks

  • Express.js
  • More coming soon... (want to see yours? Open a Github Issue to let us know)

Usage

$ npm install -g buttercms-cli
$ buttercms COMMAND
running command...
$ buttercms (-v|--version|version)
buttercms-cli/0.0.4 darwin-x64 node-v9.8.0
$ buttercms --help [COMMAND]
USAGE
  $ buttercms COMMAND
...

Commands

buttercms generate:blog

USAGE
  $ buttercms generate:blog

OPTIONS
  --auth_token=auth_token  (required) Your AUTH token used to communicate with ButterCMS API
  --for=express            Target destination for the generator command

See code: src/commands/generate/blog.js

buttercms generate:page

USAGE
  $ buttercms generate:page

OPTIONS
  --auth_token=auth_token  (required) Your AUTH token used to communicate with ButterCMS API
  --for=express            Target destination for the generator command
  --page=page              (required) Indicates the slug assigned to the new page

See code: src/commands/generate/page.js

buttercms generate:pages

USAGE
  $ buttercms generate:pages

OPTIONS
  --auth_token=auth_token  (required) Your AUTH token used to communicate with ButterCMS API
  --for=express            Target destination for the generator command
  --page_type=page_type    The page type your blog will be listing

See code: src/commands/generate/pages.js

buttercms help [COMMAND]

display help for buttercms

USAGE
  $ buttercms help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Dependencies (8)

Dev Dependencies (2)

Package Sidebar

Install

npm i buttercms-cli

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

117 kB

Total Files

35

Last publish

Collaborators

  • buttercms