Skip to content

Commit b47ae30

Browse files
committed
don't use a new argument
1 parent 0015736 commit b47ae30

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/index.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,9 @@ async function main() {
2929
.option("--bearer [bearer]", "Token for bearer auth (Hydra only)")
3030
.option(
3131
"-g, --generator [generator]",
32-
'The generator to use, one of "next", "nuxt", "quasar", "react", "react-native", "typescript", "vue", "vuetify"',
32+
'The generator to use, one of "next", "nuxt", "quasar", "react", "react-native", "typescript", "vue", "vuetify" or a path to a custom generator of your choice',
3333
"next"
3434
)
35-
.option(
36-
"--custom-generator [customGenerator]",
37-
"A node module to use as a custom generator."
38-
)
3935
.option(
4036
"-t, --template-directory [templateDirectory]",
4137
"The templates directory base to use. Final directory will be ${templateDirectory}/${generator}",
@@ -71,9 +67,7 @@ async function main() {
7167
? entrypoint
7268
: entrypoint + "/";
7369

74-
const generator = (
75-
await generators(options.customGenerator ?? options.generator)
76-
)({
70+
const generator = (await generators(options.generator))({
7771
hydraPrefix: options.hydraPrefix,
7872
templateDirectory: options.templateDirectory,
7973
});

0 commit comments

Comments
 (0)