create-next-app icon indicating copy to clipboard operation
create-next-app copied to clipboard

Warns the user for supplying multiple arguments for create-next-app

Open jamesgeorge007 opened this issue 6 years ago • 2 comments

Closes #55 Warns the user appropriately if he/she provides multiple arguments with create-next-app

Argument parsing is done via minimist

jamesgeorge007 avatar Feb 03 '19 09:02 jamesgeorge007

@stephenmathieson It should be provided as node cli.js foo --example basic-css bar right? Currently we are gonna check if there are any additional arguments omitting the -e, --example flag and the very next argument.

jamesgeorge007 avatar Apr 16 '19 17:04 jamesgeorge007

@fouad Thoughts :thinking:

jamesgeorge007 avatar Apr 16 '19 17:04 jamesgeorge007