1import commander from './index.js'; 2 3// wrapper to provide named exports for ESM. 4export 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; 17