|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
798 bytes
|
| Line | |
|---|
| 1 | const { Argument } = require('./lib/argument.js');
|
|---|
| 2 | const { Command } = require('./lib/command.js');
|
|---|
| 3 | const { CommanderError, InvalidArgumentError } = require('./lib/error.js');
|
|---|
| 4 | const { Help } = require('./lib/help.js');
|
|---|
| 5 | const { Option } = require('./lib/option.js');
|
|---|
| 6 |
|
|---|
| 7 | // @ts-check
|
|---|
| 8 |
|
|---|
| 9 | /**
|
|---|
| 10 | * Expose the root command.
|
|---|
| 11 | */
|
|---|
| 12 |
|
|---|
| 13 | exports = module.exports = new Command();
|
|---|
| 14 | exports.program = exports; // More explicit access to global command.
|
|---|
| 15 | // Implicit export of createArgument, createCommand, and createOption.
|
|---|
| 16 |
|
|---|
| 17 | /**
|
|---|
| 18 | * Expose classes
|
|---|
| 19 | */
|
|---|
| 20 |
|
|---|
| 21 | exports.Argument = Argument;
|
|---|
| 22 | exports.Command = Command;
|
|---|
| 23 | exports.CommanderError = CommanderError;
|
|---|
| 24 | exports.Help = Help;
|
|---|
| 25 | exports.InvalidArgumentError = InvalidArgumentError;
|
|---|
| 26 | exports.InvalidOptionArgumentError = InvalidArgumentError; // Deprecated
|
|---|
| 27 | exports.Option = Option;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.