Created terminal.write (markdown)

ni-richard 2019-09-12 15:03:11 +02:00
parent c3306f09c2
commit dbc7ac43d1
1 changed files with 24 additions and 0 deletions

24
terminal.write.md Normal file

@ -0,0 +1,24 @@
* **Description**: Writes in the pseudo terminal that is connected with the frontend. It is really useful when you need to pre-type a command for the user.
* **Subscribers**: [TerminalHandler](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/TerminalHandler)
```json
{
"key": "terminal.write",
"intent": "control",
"scope": "zmq"
}
```
| Parameter | Type | Required | Description |
| ------------ |:--------:|:------------------:| --------------------------- |
| *command* | `string` | :heavy_check_mark: | The command to be inserted. |
***
**Example**:
```json
{
"key": "terminal.write",
"command": "./a.out"
}
```