This should make it possible to test out the creation of Single
Executable Applications on a PR without making outbound requests to
download and run postject using npm.
This is needed for https://github.com/nodejs/node/pull/45038.
Refs: 1840f3d9c5/meetings/2022-10-31.md (L75-L76)
Signed-off-by: Darshan Sen <raisinten@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/45298
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tierney Cyren <hello@bnb.im>
16 lines
309 B
JavaScript
16 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;
|