Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tj/commander.js
/ options-extra.js
File
options-extra.js
examples/options-extra.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env node
2
3
// This is used as an example in the README for extra option features.
4
// See also options-env.js for more extensive env examples,
Callers
nothing calls this directly
Calls
11
addOption
Method · 0.80
hideHelp
Method · 0.80
env
Method · 0.80
preset
Method · 0.80
conflicts
Method · 0.80
implies
Method · 0.80
parse
Method · 0.80
opts
Method · 0.80
default
Method · 0.45
choices
Method · 0.45
argParser
Method · 0.45
Tested by
no test coverage detected