# Commands

You can create a flow with the `commands` method. It accepts an array of commands.

```typescript
new TypingFlow({
  selector: ".test",
  renderer: browserRenderer(),
}).commands([
  // array of commands
]);
```

### Supported commands:

* [text](commands/text "mention")
* [backspace](commands/backspace "mention")
* [del](commands/del "mention")
* [cursorleft](commands/cursorleft "mention")
* [cursorright](commands/cursorright "mention")
* [delay](commands/delay "mention")
