17 lines
310 B
JavaScript
17 lines
310 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;
|