MCPcopy Create free account
hub / github.com/idank/explainshell /

Class

explainshell/web/static/js/es.js:201–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199// this class represents a link (visualized by a line) between a span (option)
200// in .command that needs to be connected to a corresponding <pre> in .help
201class ESLink {
202 constructor(clazz, option, mid, color) {
203 this.option = option; // a span from .command
204 this.color = color; // the color chosen for this link

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected