fediversity.eu/node_modules/commander/esm.mjs
2024-03-26 16:28:28 +01:00

17 lines
309 B
JavaScript

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;