Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 686
Maggy Avatar asked Feb 02 '16 16:02

Maggy


1 Answers

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.

like image 55
Nepoxx Avatar answered Oct 12 '22 21:10

Nepoxx