Skip to content

Commit

Permalink
feat: d2c is not the default command for generated meaning you don't …
Browse files Browse the repository at this point in the history
…need to pass the "d2c" argument
  • Loading branch information
field123 committed Jan 23, 2024
1 parent 8696f4e commit ca8d85a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function createD2CCommand(
ctx: CommandContext,
): yargs.CommandModule<GenerateCommandArguments, D2CCommandArguments> {
return {
command: "d2c [name]",
command: ["d2c [name]", "$0 [name]"],
aliases: ["storefront"],
describe: "generate Elasticpath storefront",
builder: async (yargs) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export function createGenerateCommand(
"boolean-negation": true,
"strip-aliased": true,
})
.demandCommand(1)
.strict()
},
handler: ctx.handleErrors(
Expand Down

0 comments on commit ca8d85a

Please sign in to comment.