Module garden::config[][src]

Expand description

Configuration

Modules

reader

YAML reader

writer

YAML writer

Functions

from_options

Create a model::Configuration instance from model::CommandOptions

from_path

Read configuration from a path. Wraps new() to make the path required..

from_path_string

Read configuration from a path string. Wraps from_path() to simplify usage.

new
parse

Parse and apply configuration from a YAML/JSON string

read_grafts

Read grafts into the root configuration on down.

xdg_dir

$XDG_CONFIG_HOME/garden (typically ~/.config/garden)