MCPcopy
hub / github.com/skygragon/leetcode-cli / cb

Function cb

lib/commands/plugin.js:81–87  ·  view source on GitHub ↗
(e, p)

Source from the content-addressed store, hash-verified

79
80 if (argv.install) {
81 const cb = function(e, p) {
82 if (e) return log.fatal(e);
83 p.help();
84 p.save();
85 Plugin.init();
86 print();
87 };
88
89 if (name) {
90 Plugin.install(name, cb);

Callers 15

plugin.jsFile · 0.85
doTaskFunction · 0.85
initPluginsFunction · 0.85
core.jsFile · 0.85
helper.jsFile · 0.85
onTaskDoneFunction · 0.85
doTaskFunction · 0.85
exportSubmissionFunction · 0.85
cache.jsFile · 0.85
retry.jsFile · 0.85
getCategoryFunction · 0.85
leetcode.jsFile · 0.85

Calls 1

printFunction · 0.85

Tested by

no test coverage detected