esm.mjs
This file
Path
esm.mjs
16 lines · 309 bytes · JavaScript
Last changed by
Export InvalidOptionArgumentError in esm (#1756)Caleb Everettbefore adoption3ae30a2
History of this fileTake it
Add support for named imports in ESM (#1440)John Geebefore adoption37825b3
lines 1–3why, one step back1import commander from './index.js';23// wrapper to provide named exports for ESM.Factory routine to create a new unattached argument (#1497)Sergei Vizelbefore adoption387b6fc
lines 4–9why, one step back4export const {5 program,6 createCommand,7 createArgument,8 createOption,9 CommanderError,Extend .argument() to add default value and custom parse for command-argument (#1508)John Geebefore adoptionf99d6fa
line 10why, one step back10 InvalidArgumentError,Export InvalidOptionArgumentError in esm (#1756)Caleb Everettbefore adoption3ae30a2
line 11why, one step back11 InvalidOptionArgumentError, // deprecated old nameFactory routine to create a new unattached argument (#1497)Sergei Vizelbefore adoption387b6fc
lines 12–16why, one step back12 Command,13 Argument,14 Option,15 Help16} = commander;