ããããä½æãããã¨ã«ããã¨ãã³ãã³ãå¼æ°ã§åä½å¤æ´ããããã¨ãããã¾ãã ä»å㯠Node.js ã§ã³ãã³ãå¼æ°ã®åãåãæ¹ããã³è§£æãè¡ãæ¹æ³ã«ã¤ãã¦ã¾ã¨ãã¾ããã ã³ãã³ãå¼æ°è§£æã¯èªä½ããã¨é¢åãªã®ã§ commander ã¢ã¸ã¥ã¼ã«ãå©ç¨ããæ¹æ³ãè¼ãã¦ãã¾ãã åºæ¬ Node.js ã«ããã¦ã³ãã³ãã©ã¤ã³å¼æ°ã¯ process.argv ã§åãåãã¾ãã ã³ãã³ãå¼æ°ã®ä¿åå process.argv ã¤ã³ããã¯ã¹ 0 㯠node ã¸ã®ãã¹ ã¤ã³ããã¯ã¹ 1 㯠å®è¡ JavaScript ã®ãã¹ ã¤ã³ããã¯ã¹ 2 以éã«ã³ãã³ãå¼æ°ãä¸ãããã¾ãã å®éã®ã½ã¼ã¹ã³ã¼ããå®è¡ãçµæã®é¢ä¿ããµã³ãã«ã³ã¼ãã¨ãã¦ã¿ãã¨ä»¥ä¸ã®ããã«ãªãã¾ãã ã½ã¼ã¹(index.js) for (let i = 0; i < process.argv.length; i++) { console.l
{{#tags}}- {{label}}
{{/tags}}