Scripts

Scripts can be called from the command line using hemtt script <script>.

The files are located in the .hemtt/scripts folder, and are written in Rhai.

They have access to all the same libraries as hooks, but only use the real file system, since they run outside of the build process.

Scripts are useful for automating tasks that are not part of the build process, such as creating a new addon, or updating the version number.