Skip to content
On this page

Shell Filters

Shell Filters allow you to run arbitrary shell commands. This is useful for running scripts that are not natively supported in Regolith.

Running arbitrary Shell command as Filter

The syntax for running a shell script is this:

json
{
  "runWith": "shell",
  "command": "echo 'hello world'"
}

Here is another example:

json
{
  "runWith": "shell",
  "command": "python -u ./filters/my_filter.py"
}

Released under the MIT license.