gleamunison/cli_store
A CLI owns its store handle: errors are data, and every completed action closes before its result reaches the process-exit boundary.
Values
pub fn with_dets(
path: String,
run: fn(storage.StorageAdapter) -> Result(a, String),
) -> Result(a, String)