Discover Packages
github.com/bakl/stool
internal
backup
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jul 15, 2026
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package backup creates and restores tar.gz snapshots of stool's config
directory (~/.config/stool) — data.json, the encrypted vault, tool
scripts, caches — so the whole setup can be saved and moved between
machines.
Export writes a tar.gz of the config dir (excluding the backups subdir) and
returns the archive path.
Restore extracts archivePath over the config dir, overwriting existing
files. Existing files not present in the archive are left untouched.
Info describes one backup archive.
List returns existing backups, newest first.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.