Skip to main content

Organizing scripts

Organizing scripts makes it easier to navigate them, especially when you have to debug them or make changes to the narrative later.

Use folders to organize scripts by functionality or type. For example, you can group all scripts relating to one paragraph of the narrative in a single folder. See the example below where scripts that do sorting work and scripts that do formatting work are grouped into separate folders.

Use sensible names for folders. Ideally, the folder name should give an indication of what piece of work the folder’s scripts perform for the system.

Organizing scripts.png