Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ReadFile

ReadFile reads the given file and attaches its content to a message payload.

Example:


	{
		"type": "ReadFile",
		"options": {
			"file": "/home/user/secrets.txt",
			"readOnInit": false
		}
	}
	

Options:

file

absolute path to a file that read.

Type: string

Default: ""

readOnOinit

Read file content during initialization instead during execution

Type: bool

Default: false