blob: ad174a10451278b8729fe002eb2e5f7daa11af4e (
plain) (
blame)
1
2
3
4
5
6
7
8
|
import { handleCommand } from './commandHandler.js';
export function parseCommands(commands) {
const commandList = commands.trim().split('\n');
commandList.forEach(command => {
handleCommand(command.trim());
});
}
|