From 4099308e2659d2733590c4c2706b7481770ff495 Mon Sep 17 00:00:00 2001 From: Lambert Date: Fri, 24 Feb 2023 00:38:32 +0900 Subject: [PATCH] chore: sort schematics in help message --- lib/schematics/nest.collection.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/schematics/nest.collection.ts b/lib/schematics/nest.collection.ts index 2d9dc588a..c3eaf05c5 100644 --- a/lib/schematics/nest.collection.ts +++ b/lib/schematics/nest.collection.ts @@ -65,6 +65,11 @@ export class NestCollection extends AbstractCollection { alias: 'itf', description: 'Generate an interface', }, + { + name: 'library', + alias: 'lib', + description: 'Generate a new library within a monorepo', + }, { name: 'middleware', alias: 'mi', @@ -90,26 +95,21 @@ export class NestCollection extends AbstractCollection { alias: 'r', description: 'Generate a GraphQL resolver declaration', }, + { + name: 'resource', + alias: 'res', + description: 'Generate a new CRUD resource', + }, { name: 'service', alias: 's', description: 'Generate a service declaration', }, - { - name: 'library', - alias: 'lib', - description: 'Generate a new library within a monorepo', - }, { name: 'sub-app', alias: 'app', description: 'Generate a new application within a monorepo', }, - { - name: 'resource', - alias: 'res', - description: 'Generate a new CRUD resource', - }, ]; constructor(runner: AbstractRunner) {