Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mselerin/yang-cli
DEPRECATED (use yang-schematics instead) - Yet Another Angular Generator - based on @angular/cli
https://github.com/mselerin/yang-cli
angular angular-cli generator schematics
Last synced: about 2 months ago
JSON representation
DEPRECATED (use yang-schematics instead) - Yet Another Angular Generator - based on @angular/cli
- Host: GitHub
- URL: https://github.com/mselerin/yang-cli
- Owner: mselerin
- License: mit
- Archived: true
- Created: 2017-10-19T12:19:07.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-23T09:46:33.000Z (about 6 years ago)
- Last Synced: 2024-09-25T23:31:01.105Z (about 2 months ago)
- Topics: angular, angular-cli, generator, schematics
- Language: TypeScript
- Homepage:
- Size: 434 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## DEPRECATED - Please use [Yang-Schematics](https://github.com/mselerin/yang-schematics) directly.
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![npm](https://img.shields.io/npm/v/yang-cli.svg)](https://www.npmjs.com/package/yang-cli)
[![Build Status](https://travis-ci.org/mselerin/yang-cli.svg?branch=master)](https://travis-ci.org/mselerin/yang-cli)# Yang Cli
> Yet Another Angular Generator## Installation
Install Yang-Cli using [npm](https://www.npmjs.com/) `npm install -g yang-cli`.## Usage
Yang-Cli is just a wrapper around [@angular/cli](https://cli.angular.io) and [yang-schematics](https://github.com/mselerin/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](https://github.com/mselerin/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 :
```bash
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[npm-image]: https://badge.fury.io/js/yang-cli.svg
[npm-url]: https://npmjs.org/package/yang-cli
[travis-image]: https://travis-ci.org/mselerin/yang-cli.svg?branch=master
[travis-url]: https://travis-ci.org/mselerin/yang-cli
[daviddm-image]: https://david-dm.org/mselerin/yang-cli.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/mselerin/yang-cli