Skip to content

Commit

Permalink
Update actions.md: option-foo=bar
Browse files Browse the repository at this point in the history
  • Loading branch information
pilotmoon authored Nov 22, 2023
1 parent 609187e commit cb1c3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/dev/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ can prefix any requirement with `!` to negate it.
| `emails` | The text must contain one or more email addresses. |
| `path` | The text must be a local file path, and it must exist on the local file system. _(see side effects below)_ |
| `formatting` | The selected text control must support formatting. (PopClip makes its best guess about this, erring on the side of a false positive.) |
| `option-*=#` | The option named `*` must be equal to the string `#`. For example `option-fish=shark` would require an option named `fish` to be set to the value `shark`. This mechanism allows actions to be enabled and disabled via options. |
| `option-foo=bar` | The option with identifier `foo` must be equal to the string `bar`. This mechanism allows actions to be enabled and disabled via options. Boolean option values map to the strings `1` and `0`.|

::: info Note on side effect of `requirements` field

Expand Down

0 comments on commit cb1c3a4

Please sign in to comment.