esm.mjs (309B)
1 import commander from './index.js'; 2 3 // wrapper to provide named exports for ESM. 4 export const { 5 program, 6 createCommand, 7 createArgument, 8 createOption, 9 CommanderError, 10 InvalidArgumentError, 11 InvalidOptionArgumentError, // deprecated old name 12 Command, 13 Argument, 14 Option, 15 Help 16 } = commander;