mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-23 19:41:32 +00:00
Created history.bash (markdown)
parent
dbc7ac43d1
commit
59833f9a6e
26
history.bash.md
Normal file
26
history.bash.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
* **Description**: You can catch commands entered by the user in the bash shell if you subscribe to this key.
|
||||||
|
* **Emitter**: [HistoryMonitor](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/HistoryMonitor)
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"key": "history.bash",
|
||||||
|
"intent": "event",
|
||||||
|
"scope": "zmq"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
| Parameter | Type | Required | Description |
|
||||||
|
| ------------ |:--------:|:------------------:| --------------------------- |
|
||||||
|
| *command* | `string` | :heavy_check_mark: | Latest command executed by the user. |
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
|
**Example**:
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"key": "history.bash",
|
||||||
|
"intent": "event",
|
||||||
|
"scope": "zmq",
|
||||||
|
"command": "mkdir test"
|
||||||
|
}
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user