简体   繁体   中英

what does the --yes parameter at npm init mean?

What does the --yes parameter at npm init mean? I saw it here and would like to know what it does exactly. Is there a difference between --y and --yes?

Doing npm help init prints out helpful information. Namely:

If you invoke it with -f, --force, -y, or --yes, it will use only defaults and not prompt you for any options.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM