npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

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

Keywords

install

npm i buttercms-cli

Downloadsweekly downloads

0

version

0.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability