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