dilithium 0.0.2
dilithium: ^0.0.2 copied to clipboard
Core Utils for Play_Phaser
==< dilithium: li2 >== #
Use yaml to configure play_phaser assets. Integrated project scaffold generator with Liquid templates.
Quickstart #
Install #
$ sudo npm install dilithium -g
Create a new Dart project #
$ li2 create DemoApp
$ cd demoapp
$ pub build
Inject yaml config into application:
void main() {
Dilithium
.using("packages/appname")
.then((config) => new App(config));
}
class App extends Dilithium {
App(config) : super(config);
}
Usage #
Usage:
li2 create PATH [-t name | <path>]
Options:
-h [--help] # display this message
-t [--template] # new project template, defaults to 'default'
-v [--version] # display version
-a [--author] # set author
-d [--description] # set description
-l [--license] # set license text
-w [--webpage] # set home page