ManimCat / frontend /src /studio /commands /parse-studio-command.ts
Bin29's picture
Sync from main: e764154 feat(plot-skill): add math-exam-diagram SKILL.md for exam-style math figures
abcf568
import { allStudioCommands } from './all-commands'
import type { StudioParsedCommand } from './types'
export function parseStudioCommand(input: string): StudioParsedCommand | null {
for (const command of allStudioCommands) {
const parsed = command.matches(input)
if (parsed) {
return parsed
}
}
return null
}