MCPcopy
hub / github.com/donmccurdy/glTF-Transform / section

Method section

packages/cli/src/program.ts:64–70  ·  view source on GitHub ↗
(_name: string, _icon: string)

Source from the content-addressed store, hash-verified

62 return this;
63 }
64 section(_name: string, _icon: string): this {
65 const icon = _icon + (PAD_EMOJI.has(_icon) ? ' ' : '');
66 const name = _name.toUpperCase();
67 const line = ''.padEnd(50 - name.length - 1, '─');
68 _program.command('', `\n\n${icon} ${name} ${line}`);
69 return this;
70 }
71 command(name: string, desc: string): ICommand {
72 return new CommandImpl(_program, name, desc);
73 }

Callers 1

cli.tsFile · 0.80

Calls 2

hasMethod · 0.80
commandMethod · 0.80

Tested by

no test coverage detected