MCPcopy Create free account
hub / github.com/smapiot/piral / string

Function string

tools/generate-command-docs.js:164–170  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

162 }));
163 },
164 string(name) {
165 return this.swap(name, (flag) => ({
166 ...flag,
167 examples: [`--${name} "some value"`],
168 type: 'string',
169 }));
170 },
171 boolean(name) {
172 return this.swap(name, (flag) => ({
173 ...flag,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected