Shikensu

🚀

program : (Task -> Task) -> Focus -> Program

Create a Shikensu Program.

This is basically a wrapper around list that creates a Program for you and initialises the needed permissions.

type alias Program = Program {} {}
list : Permission -> Focus -> Task

Recursively list a directory.

type alias Task = Task Error Bundle

Simple alias for working with tasks dealing with bundles.

IO

read : Bundle -> Task

Read the files in the given compendium/bundle, setting the content property in the definition.

write : Focus -> Bundle -> Task

Write each definition to their respective location.