pub fn from_config(
cfg: &Config,
store: &SessionStore,
) -> Result<LoopHooks, Error>Expand description
Build the hooks [hooks] names, in the order it names them.
The one place a config section becomes hooks, so run, the REPL, the full-screen UI, every
dashboard path and a delegate child all get the same ones. It takes the run’s store
because recall-sessions reads the archive: a hook that guessed at a directory would be a
second opinion about where sessions live.