Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

co-koa-cli

1.21.2 • Public • Published

Build Status Coverage Status Greenkeeper badge Test for Vulnerabilities

Co.Koa header

co-koa-cli

A Command Line Interface for installing and managing Co.Koa MVC applications.

Installation of co-koa-cli co-koa-cli is available to install on NPM: npm i co-koa-cli -g

Installing a new Co.Koa project on your system with the co-koa-cli installed, in terminal, simply navigate to a desired directory in terminal and type: co-koa-cli --create

fill in a few details (these can be changed afterwards by modifying your project's package.json) once installation is finished, type npm install to download the project's core dependencies.

That's it, you're all setup!

note: By default, Co.Koa ships with the co-koa-mongoose-plugin. This will use 'mongodb://localhost:27017/coKoa' as its connection string. for more information on this and other aspects of co-koa and Mongo, see the links below:

Useful Links

CLI Options

  --version                Show version number                         [boolean]

  --create                 build a new Co.Koa application in your current
                           working directory or, if supplied, an absolute
                           directory. Ensure you have permission to write!
                                                                        [string]

  --createController       creates a Co.Koa Controller. Must be supplied with a
                           name (without the word "Controller" appended to it).
                                                                        [string]

  --createIntegrationTest  creates a Co.Koa Jest Integration Test. Must be
                           supplied with a name.                        [string]

  --createModel            creates a Co.Koa Model. Must be supplied with a name.
                                                                        [string]

  --createService          creates a Co.Koa Service. Must be supplied with a
                           name (without the word "Service" appended to it).
                                                                        [string]

  --createUnitTest         creates a Co.Koa Jest Unit Test. Must be supplied
                           with a name.                                 [string]

  --help, -h               Show help                                   [boolean]

for more information on Co.Koa and its installation, navigate to the Co.Koa github page.

install

npm i co-koa-cli

Downloadsweekly downloads

20

version

1.21.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability