nodecaf-cli

0.6.4 • Public • Published

Nodecaf CLI

Docs for version v0.6.x.

Nodecaf CLI contains a series of useful tools and code generation for the use of Nodecaf Framework. Using Nodecaf CLI you'll be able to:

Installation

npm i -g nodecaf-cli

Reporting Bugs

If you have found any problems with this module, please:

  1. Open an issue.
  2. Describe what happened and how.
  3. Also in the issue text, reference the label ~bug.

We will make sure to take a look when time allows us.

Proposing Features

If you wish to get that awesome feature or have some advice for us, please:

  1. Open an issue.
  2. Describe your ideas.
  3. Also in the issue text, reference the label ~proposal.

Contributing

If you have spotted any enhancements to be made and is willing to get your hands dirty about it, fork us and submit your merge request so we can collaborate effectively.

Manual

Check a brief description of how to use the available commands.

Common Options

  • -v --version: Outputs the currently installed version of Nodecaf CLI.
  • -h --help: Outputs the complete command reference.

Run Application

nodecaf run Executes the Nodecaf app installed in the specified directory.

Options

  • -c --conf [file]: Conf file path (supports multiple eg.: -c ./foo.toml -c ./bar.toml)

Arguments

  • APP_PATH: The path to your app's module directory or main js file.

Init Project

nodecaf init Generates a base Nodecaf project file structure in the current directory.

Options

  • --bare: When present will generate only js files
  • --bin: When present will generate a npm binary file to run the app
  • -r --reload: When present will trigger a full app reload when files change. Don't use in production!
  • -c --conf [format]: Type of config file to be used in the project
  • -p --path [directory]: Project root directory (defaults to working dir)
  • --mongo: When present will install and generate code for mongo integration
  • --redis: When present will install and generate code for redis integration

Arguments

  • APP_NAME: The name to be used for the app all across the generated files.

Package Sidebar

Install

npm i nodecaf-cli

Weekly Downloads

23

Version

0.6.4

License

MIT

Unpacked Size

36 kB

Total Files

26

Last publish

Collaborators

  • gcsboss