add docs for os processors

This commit is contained in:
Joel Wetzell
2026-09-11 09:23:51 -05:00
parent 397cfcba2e
commit a90870d7aa
2 changed files with 28 additions and 0 deletions
+5
View File
@@ -225,6 +225,11 @@ export default defineConfig({
collapsed: true, collapsed: true,
items: [{ autogenerate: { directory: "processors/module" } }], items: [{ autogenerate: { directory: "processors/module" } }],
}, },
{
label: "OS",
collapsed: true,
items: [{ autogenerate: { directory: "processors/os" } }],
},
{ {
label: "OSC", label: "OSC",
collapsed: true, collapsed: true,
+23
View File
@@ -0,0 +1,23 @@
---
title: Execute Command
sidebar:
label: Exec
order: 1
---
import SchemaInfo from '../../../../components/SchemaInfo.astro';
This processor will execute a command with the provided arguments. This processor will return an error if any of the required parameters are missing or if the parameters are of the wrong type. The command parameter is required, while the args parameter is optional.
<SchemaInfo type="processor" id="os.exec"/>
### Example
Run `echo` command.
```yaml
- id: create
type: os.exec
params:
command: "echo"
args: ["hello"]
```