0.0.4 • Published 5 years ago

buttercms-cli v0.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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 --help [COMMAND]

Commands

buttercms generate:blog

Create a brand new blog with a set of sample templates

USAGE
  $ buttercms generate:blog

OPTIONS
  --for=target  Target tech stack to generate the blog for (currently available: express)
  --auth_token=token The Auth token provided by ButterCMS, this CLI will auto-populate your configuration file with it

buttercms generate:page

Create a new page inside your blog, based on the page you configured on ButterCMS

USAGE
  $ buttercms generate:page

OPTIONS
  --for=target  Target tech stack to generate the blog for (currently available: express)
  --page=page 	The slug of the page you want to retrieve
  --auth_token=token The Auth token provided by ButterCMS, this CLI will auto-populate your configuration file with it

buttercms generate:pages

Create a list of links for the same type of page

USAGE
  $ buttercms generate:pages

OPTIONS
  --for=target  Target tech stack to generate the blog for (currently available: express)
  --page_type=type 	The slug for the page type you previously created in ButterCMS
  --auth_token=token The Auth token provided by ButterCMS, this CLI will auto-populate your configuration file with it

``


## `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

<!-- commandsstop -->