Skip to content
This repository has been archived by the owner on Oct 23, 2018. It is now read-only.
/ yang-cli Public archive

DEPRECATED (use yang-schematics instead) - Yet Another Angular Generator - based on @angular/cli

License

Notifications You must be signed in to change notification settings

mselerin/yang-cli

Repository files navigation

DEPRECATED - Please use Yang-Schematics directly.

License: MIT npm Build Status

Yang Cli

Yet Another Angular Generator

Installation

Install Yang-Cli using npm npm install -g yang-cli.

Usage

Yang-Cli is just a wrapper around @angular/cli and yang-schematics.
It's main purpose is to avoid commands like ng g yang-schematics:xxx and write those as yang xxx

Every cli parameters are passed 'as-is' to @angular/cli.

The first parameter is the Yang schematic short-name (ex: 'component' for 'yang-schematic:component'). If this name contains a slash ('/'), the cli assume you want to call a yang-schematic extension. For example the command yang @corp/stuff is a shortcut for ng g @corp/yang-schematic:stuff.

Available schematics

Just read the yang-schematics docs ;-)

Special Commands

New

yang new my-awesome-project Scaffold a brand new application.

This will create a new folder my-awesome-project containing a fresh Angular application. Just go inside this folder, install dependencies and run the project :

cd my-awesome-project
npm install
npm run start

Browse to http://localhost:4200.
That's all !


Help

yang help Print all available schematics.


License

MIT

About

DEPRECATED (use yang-schematics instead) - Yet Another Angular Generator - based on @angular/cli

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published