MCPcopy
hub / github.com/tj/commander.js / global-options-nested.js

File global-options-nested.js

examples/global-options-nested.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/env node
2
3// This example shows global options on the program which affect all the subcommands.
4// See how to work with global options in the subcommand and display them in the help.

Callers

nothing calls this directly

Calls 7

optionMethod · 0.80
configureHelpMethod · 0.80
actionMethod · 0.80
commandMethod · 0.80
optsMethod · 0.80
optsWithGlobalsMethod · 0.80
parseMethod · 0.80

Tested by

no test coverage detected