(commands: CommandLike[])
| 68 | } |
| 69 | |
| 70 | function outputCommandsText(commands: CommandLike[]): void { |
| 71 | for (const command of commands) { |
| 72 | const description = command.description ? ` - ${command.description}` : "" |
| 73 | process.stdout.write(`/${command.name} (${command.source})${description}\n`) |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | function outputModesText(modes: ModeLike[]): void { |
| 78 | for (const mode of modes) { |