Record the command that verifies a rule
vivac_armRecord a command that verifies a rule in a folder, or remove one with off; the rule checker runs it, not the server.
Instructions
Record a command that verifies a rule and the folder it runs in, or with off, remove one. vivac never runs it: it hands it to whoever checks the rule. Call it the moment a test for a rule exists, because the day a rule became checkable is part of its history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The rule, as the tree names it: r12. | |
| dir | Yes | The folder the command runs in, relative to the folder that holds .vivac: vivac, say, or . for that folder itself. It has to exist. | |
| off | No | Remove this command, in this folder, from the rule instead of adding it. | |
| command | Yes | The command or test that verifies it, as someone would type it. |