Skip to content

Reference

Reference ​

Write files, create symlinks, run commands, and read system information. For configuring tools such as Git or Zsh, start with modules.

lua
local rb = require("rootbeer")

Core ​

PageDescription
Core APIFile ops, symlinks, exec, profile system.
HostThe rb.host table — OS, arch, hostname, user.

Secrets ​

PageDescription
SecretsRead secrets and save documents from 1Password.

Module Authoring ​

PageDescription
strBlank-line-preserving line splitter and indent helper.
tblSorted iteration for deterministic generator output.

Data Formats ​

PageDescription
jsonPretty-printed with 2-space indent.
tomlDatetimes decode as strings.
yamlTags decode transparently to scalars.
plistXML output; decode accepts XML or binary.

Script Writers ​

PageDescription
Script writersrb.scripts.bash / python / script …