racoon-cli

0.3.1 • Public • Published
Racoon Logo

Description

Racoon CLI is a command-line interface tool that initializes and helps you create components for ExpressJS applications. You can generate JavaScript and TypeScript projects and automatically generate controllers, services and middlewares, maintaining consistency and structure.

Installation

$ npm install -g racoon-cli

Usage

  1. Create new ExpressJS project:
$ racoon new PROJECT_NAME [--path=APP_CONTEXT] [--lang=LANGUAGE]
  • Replace PROJECT_NAME with the name of your project.
  • Replace APP_CONTEXT with base path of your project (default='').
  • Replace LANGUAGE with the language of your project. (default='javascript').
  1. Generate new component:
$ racoon generate COMPONENT NAME [--path=ROUTE]
  • Replace COMPONENT with controller, service or middleware.
  • Replace NAME with _the name of your component.
  • Replace ROUTE with the route of your controller (default is your component name). Controller only.

Package Sidebar

Install

npm i racoon-cli

Weekly Downloads

3

Version

0.3.1

License

ISC

Unpacked Size

65.9 kB

Total Files

65

Last publish

Collaborators

  • erickblanco