near / create-near-app

Create a starter app hooked up to the NEAR blockchain
https://near-examples.github.io/hello-near-examples/
MIT License
353 stars 157 forks source link

Cli argument parsing seems broken #2111

Closed serkonda7 closed 11 months ago

serkonda7 commented 11 months ago

The following command leads to an error. However the order, flags and arguments match the required scheme.

npx create-near-app my-app --contract ts --frontend vanilla --tests ts
Arguments error
Run npx create-near-app without arguments, or use:
npx create-near-app <projectName> --frontend next|vanilla|none --contract rs|ts|none --tests rs|ts|none
gagdiez commented 11 months ago

Nice catch, addressed by #2113

serkonda7 commented 11 months ago

Thanks. The error is clear now