@mesa-engine/cli
@mesa-engine/cli ================ [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io) [![Version](https://img.shields.io/npm/v/@mesa-engine/cli.svg)](https://npmjs.org/package/@mesa-engine/cli) [![Downloads/week](https://i
Last updated 3 months ago by indiebash .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @mesa-engine/cli 
SYNC missed versions from official npm registry.

@mesa-engine/cli

oclif Version Downloads/week License

Installation

$ npm install -g @mesa-engine/cli

Usage

Creating and running a new application

$ mesa new my-app
$ cd my-app
$ npm install
$ mesa run

Once the project has been generated, you can use the cli to create new components, systems, and blueprints.

For example, creating a position component:

$ mesa component position

Would create a PositionComponent class in the src/components folder.

If you wish to nest elements in sub-folders simply add slashes:

$ mesa component physics/velocity

Which would create a VelocityComponent class in src/components/physics/.

Commands

Command Description
new [name] Creates a new mesa project
component [name] Creates a new component
system [name] Creates a new system
blueprint [name] Creates a new blueprint
run Builds and runs application

The "run" command will host your code and watch for any changes made. If change is detected it will rebuild and refresh the application.

At any point you can type the "help" command for details.

$ mesa help
...
$ mesa [command] --help
...

Current Tags

  • 0.0.14                                ...           latest (3 months ago)

14 Versions

  • 0.0.14                                ...           3 months ago
  • 0.0.13                                ...           3 months ago
  • 0.0.12                                ...           3 months ago
  • 0.0.11                                ...           3 months ago
  • 0.0.10                                ...           3 months ago
  • 0.0.9                                ...           3 months ago
  • 0.0.8                                ...           4 months ago
  • 0.0.7                                ...           4 months ago
  • 0.0.6                                ...           4 months ago
  • 0.0.5                                ...           4 months ago
  • 0.0.4                                ...           4 months ago
  • 0.0.3                                ...           4 months ago
  • 0.0.2                                ...           4 months ago
  • 0.0.1                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 14
Last Day 0
Last Week 14
Last Month 0
Dependencies (9)
Dev Dependencies (15)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |