MCPcopy Create free account
hub / github.com/Noumena-Network/code / getCommandTokens

Function getCommandTokens

src/cli/handlers/ant.ts:276–278  ·  view source on GitHub ↗
(command: CommanderCommand)

Source from the content-addressed store, hash-verified

274}
275
276function getCommandTokens(command: CommanderCommand): string[] {
277 return uniqSorted([command.name(), ...command.aliases()])
278}
279
280function getCommandOptions(command: CommanderCommand): {
281 options: string[]

Callers 1

collectCompletionTreeFunction · 0.85

Calls 1

uniqSortedFunction · 0.85

Tested by

no test coverage detected