xref: /third_party/node/test/fixtures/postject-copy/node_modules/commander/index.js
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/fixtures/postject-copy/node_modules/commander/
11cb0ef41Sopenharmony_ciconst { Argument } = require('./lib/argument.js');
21cb0ef41Sopenharmony_ciconst { Command } = require('./lib/command.js');
31cb0ef41Sopenharmony_ciconst { CommanderError, InvalidArgumentError } = require('./lib/error.js');
41cb0ef41Sopenharmony_ciconst { Help } = require('./lib/help.js');
51cb0ef41Sopenharmony_ciconst { Option } = require('./lib/option.js');
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_ci// @ts-check
81cb0ef41Sopenharmony_ci
91cb0ef41Sopenharmony_ci/**
101cb0ef41Sopenharmony_ci * Expose the root command.
111cb0ef41Sopenharmony_ci */
121cb0ef41Sopenharmony_ci
131cb0ef41Sopenharmony_ciexports = module.exports = new Command();
141cb0ef41Sopenharmony_ciexports.program = exports; // More explicit access to global command.
151cb0ef41Sopenharmony_ci// Implicit export of createArgument, createCommand, and createOption.
161cb0ef41Sopenharmony_ci
171cb0ef41Sopenharmony_ci/**
181cb0ef41Sopenharmony_ci * Expose classes
191cb0ef41Sopenharmony_ci */
201cb0ef41Sopenharmony_ci
211cb0ef41Sopenharmony_ciexports.Argument = Argument;
221cb0ef41Sopenharmony_ciexports.Command = Command;
231cb0ef41Sopenharmony_ciexports.CommanderError = CommanderError;
241cb0ef41Sopenharmony_ciexports.Help = Help;
251cb0ef41Sopenharmony_ciexports.InvalidArgumentError = InvalidArgumentError;
261cb0ef41Sopenharmony_ciexports.InvalidOptionArgumentError = InvalidArgumentError; // Deprecated
271cb0ef41Sopenharmony_ciexports.Option = Option;
28

Indexes created Thu Nov 07 10:32:03 CST 2024