@mesa-engine/cli
TypeScript icon, indicating that this package has built-in type declarations

0.0.14 • Public • Published

@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
...

Readme

Keywords

Package Sidebar

Install

npm i @mesa-engine/cli

Weekly Downloads

0

Version

0.0.14

License

MIT

Unpacked Size

78.8 kB

Total Files

62

Last publish

Collaborators

  • indiebash