grimoire v0.0.2 Grimoire.Render

Link to this section Summary

Functions

Return a list of maps describing the details about --Grimoire comments in a given string.

Link to this section Functions

Link to this function

parse_comment(arg, acc)

Return a list of maps describing the details about --Grimoire comments in a given string.

List is in reverse order, so edit with tail call recursion and you'll get the added benefit of changing lines without affecting the line numbers for the next items in the list

Link to this function

parse_string(str)

Link to this function

update(config, content)

Link to this function

write_or_update(config, path, content)