web-blog/node_modules/commander/esm.mjs

17 lines
309 B
JavaScript
Raw Permalink Normal View History

2026-05-29 18:34:34 +00:00
import commander from './index.js';
// wrapper to provide named exports for ESM.
export const {
program,
createCommand,
createArgument,
createOption,
CommanderError,
InvalidArgumentError,
InvalidOptionArgumentError, // deprecated old name
Command,
Argument,
Option,
Help
} = commander;