burgee
API reference

burgee/commander

burgee/commander is a drop-in for commander: the same API, documented by commander itself. Every name it exports, and where its reference lives.

burgee/commander is a drop-in for commander, graded by the incumbent's own test suite. Its API is the incumbent's, so its reference is the incumbent's own documentation.

  • Reference: commander 15.0.0, the release that suite is run at.
  • How closely it matches: Compatibility, that suite's result in CI, with every case left out of the gate and the reason.
  • Side by side: burgee vs commander.
  • Moving a program over: burgee migrate rewrites 'commander' to 'burgee/commander' across a project.

Exports

Every name burgee/commander exports, as the built declarations state them. Signatures and behaviour are commander's.

ExportKind
humanReadableArgNamefunction
useColorfunction
Argumentclass
Commandclass
CommanderErrorclass
DualOptionsclass
Helpclass
InvalidArgumentErrorclass
InvalidOptionArgumentErrorclass
Optionclass
createArgumentconst
createCommandconst
createOptionconst
programconst
BurgeeParseOptionsinterface
CommandOptionsinterface
ErrorOptionsinterface
ExecutableCommandOptionsinterface
HelpContextinterface
OutputContextinterface
ParseOptionsinterface
ParseOptionsResultinterface
AddHelpTextContexttype
AddHelpTextPositiontype
HelpConfigurationtype
HookEventtype
HookListenertype
OptionValuestype
OptionValueSourcetype
OutputConfigurationtype

On this page