index.ts import { Command } from 'commander'; const program = new Command(); ... 方法里再传递一些参数(长选项名称、描述信息),用法与 .option() 方法类似。
確定! 回上一頁