n25/pages/plugins-slide.md

857 B

level
2

RunCommand plugins

Plugins are any script or executable that print output and exit with a system code of 0 (OK) or greater (error).

```bash 
#!/usr/bin/env bash

echo "HI THERE..."

exit 0
```

```bash 
#!/usr/bin/env bash

# do some work...
sleep 10

echo "call the president..."

exit 1
```