dart_ng

A sample command-line application.


License
Apache-2.0

Documentation

dart-ng

A basic command-line application for AngularDart that try to emulate ng from package @angular/cli (typescript)

Activate from github :

pub global activate --source git https://github.com/alescdb/dart-ng

Activate from sources :

pub global activate --source path .

Deactivate package :

pub global deactivate dart_ng

Usage :

dart-ng <component|pipe|service> <name>

eg create a component HelloWorldComponent :

shell> dart-ng component helloWorld

Upper Name : HelloWorld, Lower Name : helloworld
Create directory : helloworld
Writing template : lib\helloworld\helloworld.html
Writing template : lib\helloworld\helloworld.dart
Writing template : lib\helloworld\helloworld.scss