MCPcopy Create free account
hub / github.com/Serverless-Devs/Serverless-Devs / getTempCommandStr

Function getTempCommandStr

src/command/cli/v1.ts:140–144  ·  view source on GitHub ↗
(commands: string, length: number)

Source from the content-addressed store, hash-verified

138 logger.write(publishYamlInfor['HomePage'] ? ` ${emoji('🧭')} ${core.makeUnderLine('More information: ' + publishYamlInfor['HomePage'])} ` + '\n' : '');
139 }
140 function getTempCommandStr(commands: string, length: number) {
141 const commandsLength = commands.length;
142 const tempArray = new Array(length - commandsLength).fill(' ');
143 return `${commands}${tempArray.join('')} : `;
144 }
145}
146
147export default v1;

Callers 1

specifyServiceHelpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected