Skip to content

Commit 29a0f42

Browse files
author
mkefd
committed
mappersmith
1 parent e4175bd commit 29a0f42

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ const params = program
2727
.parse(process.argv)
2828
.opts();
2929

30+
if (params.client === 'mappersmith' && params.name === undefined) {
31+
console.error('Error: --name option is required for mappersmith client');
32+
process.exit(1);
33+
}
34+
3035
const OpenAPI = require(path.resolve(__dirname, '../dist/index.js'));
3136

3237
if (OpenAPI) {

0 commit comments

Comments
 (0)