When you use -flag without specifying any value, will make the value to be set to true.Įxample: -name1 -name2 will set both configuration parameters to true, while -name1 -name2 will set name1 to true, and name2 to bar. A - argument will tell the cli parser to stop reading flags. When you put -foo bar on the command line, the foo configuration will be set to ?bar?. The configuration values for npm is gotten from the following sources, these sources are sorted by priority: This article is going to cover more than what you thought the npm configuration consists of.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |