Skip to content

Commit 01eacd7

Browse files
Merge pull request #1945 from HurSungYun/reorder_help_msg
chore: sort schematics in help message
2 parents 69718d6 + 4099308 commit 01eacd7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

lib/schematics/nest.collection.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ export class NestCollection extends AbstractCollection {
6565
alias: 'itf',
6666
description: 'Generate an interface',
6767
},
68+
{
69+
name: 'library',
70+
alias: 'lib',
71+
description: 'Generate a new library within a monorepo',
72+
},
6873
{
6974
name: 'middleware',
7075
alias: 'mi',
@@ -90,26 +95,21 @@ export class NestCollection extends AbstractCollection {
9095
alias: 'r',
9196
description: 'Generate a GraphQL resolver declaration',
9297
},
98+
{
99+
name: 'resource',
100+
alias: 'res',
101+
description: 'Generate a new CRUD resource',
102+
},
93103
{
94104
name: 'service',
95105
alias: 's',
96106
description: 'Generate a service declaration',
97107
},
98-
{
99-
name: 'library',
100-
alias: 'lib',
101-
description: 'Generate a new library within a monorepo',
102-
},
103108
{
104109
name: 'sub-app',
105110
alias: 'app',
106111
description: 'Generate a new application within a monorepo',
107112
},
108-
{
109-
name: 'resource',
110-
alias: 'res',
111-
description: 'Generate a new CRUD resource',
112-
},
113113
];
114114

115115
constructor(runner: AbstractRunner) {

0 commit comments

Comments
 (0)