Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: Nest CLI generate commands #166

Merged
merged 9 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions specs/nest_cli/generate_app_nestjs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Generate an app using Nest.js
command: "nest g co {{appName}}"
tags:
- nestcli
description: Generate a app with the given name.
arguments:
- name: appName
description: the name for the app to be generated
default_value: foo
source_url: "https://docs.nestjs.com/cli/overview"
author: nagauta
author_url: "https://github.com/nagauta"
shells: []
14 changes: 14 additions & 0 deletions specs/nest_cli/generate_class_nestjs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Generate a class using Nest.js
command: "nest g cl {{className}}"
tags:
- nestcli
description: Generate a class with the given name.
arguments:
- name: className
description: the name for the class to be generated
default_value: foo
source_url: "https://docs.nestjs.com/cli/overview"
author: nagauta
author_url: "https://github.com/nagauta"
shells: []
14 changes: 14 additions & 0 deletions specs/nest_cli/generate_controller_nestjs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Generate a controller using Nest.js
command: "nest g co {{controllerName}}"
tags:
- nestcli
description: Generate a controller with the given name.
arguments:
- name: controllerName
description: the name for the controller to be generated
default_value: foo
source_url: "https://docs.nestjs.com/cli/overview"
author: nagauta
author_url: "https://github.com/nagauta"
shells: []
14 changes: 14 additions & 0 deletions specs/nest_cli/generate_interface_nestjs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Generate a interface using Nest.js
command: "nest g itf {{interfaceName}}"
tags:
- nestcli
description: Generate a interface with the given name.
arguments:
- name: interfaceName
description: the name for the interface to be generated
default_value: foo
source_url: "https://docs.nestjs.com/cli/overview"
author: nagauta
author_url: "https://github.com/nagauta"
shells: []
14 changes: 14 additions & 0 deletions specs/nest_cli/generate_service_nestjs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Generate a service using Nest.js
command: "nest g s {{serviceName}}"
tags:
- nestcli
description: Generate a service with the given name.
arguments:
- name: serviceName
description: the name for the service to be generated
default_value: foo
source_url: "https://docs.nestjs.com/cli/overview"
author: nagauta
author_url: "https://github.com/nagauta"
shells: []
Loading