View Source sorbet
A simple key-value configuration format parser and formatter for the Erlang ecosystem with support for multi-line values.
Usage
Sorbet Format
Sorbet is a simple key-value configuration format with the following rules:
- Each key-value pair is on a separate line with the format
key => value
- Multi-line values use continuation lines starting with
>
- Empty lines are ignored
- Whitespace around keys and values is trimmed
Example:
# This is a Sorbet configuration file
name => My Project
description => This is a multi-line
> description for my project
> that spans multiple lines
version => 1.0.0
Further documentation can be found at https://hexdocs.pm/sorbet.
Development
rebar3 ct # Run the tests