Skip to content

Commit

Permalink
feat: allow for unknown options
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Oct 17, 2024
1 parent 5124134 commit b08ce01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default async function() {
.option('-b, --bin [bin]', 'path to the maizzle executable')
.option('-c, --config [config]', 'path to a maizzle config file')
.option('-s, --summary', 'output a summary of the build process')
.allowUnknownOption()
.description('Build templates and output to disk')
.action(async (env, options) => {
let config = options.config
Expand Down Expand Up @@ -81,6 +82,7 @@ export default async function() {
.option('-b, --bin [bin]', 'path to the maizzle executable')
.option('-c, --config [config]', 'path to a maizzle config file')
.option('-p, --port [port]', 'port number to run the server on')
.allowUnknownOption()
.description('Start a local development server')
.action(async (env, options) => {
let config = options.config
Expand Down

0 comments on commit b08ce01

Please sign in to comment.