Skip to content

Commit

Permalink
fix(@angular/cli): Fixing aliases for blueprint help
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitarora authored and hansl committed Mar 13, 2017
1 parent 7f0333a commit b6cc79c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/@angular/cli/blueprints/class/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const getFiles = Blueprint.prototype.files;

export default Blueprint.extend({
description: '',
aliases: ['cl'],

availableOptions: [
{
Expand Down
1 change: 1 addition & 0 deletions packages/@angular/cli/blueprints/component/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ function correctCase(options: any) {

export default Blueprint.extend({
description: '',
aliases: ['c'],

availableOptions: [
{
Expand Down
1 change: 1 addition & 0 deletions packages/@angular/cli/blueprints/directive/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const getFiles = Blueprint.prototype.files;

export default Blueprint.extend({
description: '',
aliases: ['d'],

availableOptions: [
{
Expand Down
1 change: 1 addition & 0 deletions packages/@angular/cli/blueprints/enum/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const Blueprint = require('../../ember-cli/lib/models/blueprint');

export default Blueprint.extend({
description: '',
aliases: ['e'],

availableOptions: [
{
Expand Down
1 change: 1 addition & 0 deletions packages/@angular/cli/blueprints/guard/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const getFiles = Blueprint.prototype.files;

export default Blueprint.extend({
description: '',
aliases: ['g'],

availableOptions: [
{
Expand Down
1 change: 1 addition & 0 deletions packages/@angular/cli/blueprints/interface/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const Blueprint = require('../../ember-cli/lib/models/blueprint');

export default Blueprint.extend({
description: '',
aliases: ['i'],

anonymousOptions: [
'<interface-type>'
Expand Down
1 change: 1 addition & 0 deletions packages/@angular/cli/blueprints/module/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const getFiles = Blueprint.prototype.files;

export default Blueprint.extend({
description: '',
aliases: ['m'],

availableOptions: [
{
Expand Down
1 change: 1 addition & 0 deletions packages/@angular/cli/blueprints/pipe/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const getFiles = Blueprint.prototype.files;

export default Blueprint.extend({
description: '',
aliases: ['p'],

availableOptions: [
{
Expand Down
1 change: 1 addition & 0 deletions packages/@angular/cli/blueprints/service/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const getFiles = Blueprint.prototype.files;

export default Blueprint.extend({
description: '',
aliases: ['s'],

availableOptions: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ var commandProperties = [
];
var blueprintProperties = [
'name',
'aliases',
'description',
'availableOptions',
'anonymousOptions',
Expand Down

0 comments on commit b6cc79c

Please sign in to comment.