add command runner util

This commit is contained in:
2026-01-31 16:56:18 -05:00
parent 7fc4498dd7
commit b1ef556eb5
4 changed files with 21 additions and 2 deletions

View File

@@ -650,6 +650,14 @@ return site</code></pre>
<td><code>util.copyright(link: string, holder: string)</code></td>
<td>Used when setting the website copyright holder.</td>
</tr>
<tr>
<td><code>util.ls(dir)</code></td>
<td>Returns a table of the files in the given directory</td>
</tr>
<tr>
<td><code>util.run(cmd)</code></td>
<td>Returns the output of the provided command. stdout only.</td>
</tr>
</tbody>
</table>
<h3>Dkjson</h3>