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

Function print

lib/commands/plugin.js:63–72  ·  view source on GitHub ↗
(plugins)

Source from the content-addressed store, hash-verified

61};
62
63function print(plugins) {
64 log.info(chalk.gray(sprintf(' %6s %-18s %-15s %s', 'Active', 'Name', 'Version', 'Desc')));
65 log.info(chalk.gray('-'.repeat(100)));
66
67 plugins = plugins || Plugin.plugins;
68 for (let p of plugins)
69 log.printf(' %s %-18s %-15s %s',
70 h.prettyText('', p.enabled && !p.missing),
71 p.name, p.ver, p.desc);
72}
73
74cmd.handler = function(argv) {
75 session.argv = argv;

Callers 2

cbFunction · 0.85
plugin.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected