From 59833f9a6e1a23f301d9b5497f2b17777b23c4d0 Mon Sep 17 00:00:00 2001 From: ni-richard Date: Thu, 12 Sep 2019 15:12:22 +0200 Subject: [PATCH] Created history.bash (markdown) --- history.bash.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 history.bash.md diff --git a/history.bash.md b/history.bash.md new file mode 100644 index 0000000..2a0fa4c --- /dev/null +++ b/history.bash.md @@ -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" +} +``` \ No newline at end of file