Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including catberry-cli with all npm packages installed. Try it out:

catberry-cli lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("catberry-cli/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

catberry-cli v9.0.0

CLI utility for Catberry Framework

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free