Skip to content

Commit

Permalink
replace zodcli with commander (#570)
Browse files Browse the repository at this point in the history
* replace zodcli with commander

* remove zod from package.json and package-lock and remove extra package-lock.json files
  • Loading branch information
dario-piotrowicz authored Dec 4, 2023
1 parent 91acc21 commit 8fe72f1
Show file tree
Hide file tree
Showing 8 changed files with 105 additions and 78,619 deletions.
22 changes: 22 additions & 0 deletions .changeset/friendly-tools-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
'@cloudflare/next-on-pages': patch
---

make CLI arguments parsing more flexible

prior to this change the CLI arguments parsing was not too flexible and forced a specific style

For instance the only way to provide an argument for the `outdir` option was to pass it using `=` as in:

```
-o=./my-dir
```

or

```
--outdir=./my-dir
```

these changes make the CLI arguments parsing more flexible and don't enforce a specific style
(`--outdir ./my-dir` now also works as you'd expect it to)
Loading

0 comments on commit 8fe72f1

Please sign in to comment.