buttercms-cli
Generate the boilerplate code for a blog and pages using ButterCMS for multiple languages and frameworks
Last updated 7 months ago by buttercms .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install buttercms-cli 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.4                                ...           latest (7 months ago)

3 Versions

  • 0.0.4                                ...           7 months ago
  • 0.0.3                                ...           8 months ago
  • 0.0.2                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |