Skip to content
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ CLI to help you set up a Node.js TypeScript project. The setup includes:

## Usage

Run directly from GitHub repo via npx:
Run directly from npm via npx:

```
Usage: npm exec --ignore-scripts -- github:AckeeCZ/create-node-app [OPTIONS]
Usage: npx @ackee/create-node-app [OPTIONS]

Options:
-d, --dir Destination directory [string] [default: "./node-app"]
Expand Down
2 changes: 1 addition & 1 deletion src/Bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class Bootstrap {
}

cli = cli
.version('1.0.0')
.version()
.help()
.check(argv => {
for (const [key, val] of Object.entries(argv)) {
Expand Down
3 changes: 3 additions & 0 deletions starter/api/rest/src/view/rest/util/openapi.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ export const openApiRouter = (
case 'post':
router.post(route, handler)
break
case 'PUT':
router.put(route, handler)
break
case 'patch':
router.patch(route, handler)
break
Expand Down