# CommandService

Command Service, needs to be used with [Shortcuts](/guide/advanced/shortcuts.html)

[> API Detail](https://flowgram.ai/auto-docs/command/interfaces/CommandService.html)


```typescript pure

ctx.get(CommandService).execCommand('selectAll')
```
