CLI utility for Catberry Framework
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
module_presets @ 7e8f3d8
templates
.eslintignore
.eslintrc
.gitignore
.gitmodules
.npmignore
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
package.json

README.md

Catberry CLI

Build Status Gitter

What is it?

This is a Command Line Interface for the Catberry Framework that helps to create projects, cat-components and stores.

Installation

npm -g install catberry-cli

Create Catberry Applications using a project template

catberry init [--dest=directory] <template>

Included templates:

  • example - finished project that works with GitHub API and demonstrates how to implement such isomorphic application using Catberry Framework
  • empty-handlebars - empty project using Handlebars template engine.
  • empty-dust - empty project using Dust template engine.
  • empty-pug - empty project using Pug template engine.

Add Store into your project

catberry addstore [--dest=directory] <storeName>

Add Cat-component into your project

catberry addcomp [--dest=directory] [--preset=handlebars] <componentName>

Also you can use preset values such as:

  • handlebars (by default)
  • dust
  • pug

To get more usage details, please use catberry --help

Contributing

There are a lot of ways to contribute:

Denis Rechkunov denis.rechkunov@gmail.com