MCPcopy
hub / github.com/lebab/lebab / getTransforms

Method getTransforms

src/OptionParser.js:94–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92 }
93
94 getTransforms() {
95 if (!this.opts().transform || this.opts().transform.length === 0) {
96 throw `No transforms specified :(
97
98 Use --transform option to pick one of the following:
99 ${transformsDocs}`;
100 }
101
102 return this.opts().transform;
103 }
104
105 opts() {
106 return this.program.opts();

Callers 1

parseMethod · 0.95

Calls 1

optsMethod · 0.95

Tested by

no test coverage detected