/RedFairyBook

Where to store all these secrets? 🧧

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

xUnit Tests Formatting Check

RedFairyBook

Where to store all these secrets? Ruby library to store & retrieve user preferences/secrets in the $HOME/.config directory.

Usage

holly = RedFairy.new("berry")
holly.set("oak", "on fire")
holly.get("oak")  #=> returns: "on fire"
holly.save  # writes changes to file

Calling RedFairy.new() will restore any previous save, as long as you use the same string as before.