(cwd: string)
| 259 | * Get command names for autocomplete |
| 260 | */ |
| 261 | export async function getCommandNames(cwd: string): Promise<string[]> { |
| 262 | const commands = await getCommands(cwd) |
| 263 | return commands.map((cmd) => cmd.name) |
| 264 | } |
| 265 | |
| 266 | /** |
| 267 | * Scan a specific command directory (supports symlinks) |
no test coverage detected