mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-23 18:51:31 +00:00
Created terminal.write (markdown)
parent
c3306f09c2
commit
dbc7ac43d1
24
terminal.write.md
Normal file
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"
|
||||
}
|
||||
```
|
Loading…
Reference in New Issue
Block a user