Skip to main content

Module session_open

Module session_open 

Source
Expand description

Opens a session running directly on the local machine — a neutral helper shared by the interactive REPL (repl) and the single-shot (oneshot) paths.

Both frontend paths execute files and commands directly on the local machine: fs and shell both use the local backend, and the frontend is marked Frontend::Cli. They depend on this module at the same level, not on each other — this avoids making oneshot depend on the repl module (which would tie oneshot to the repl feature).

Structs§

LocalSessionOpts
Knobs for opening a local CLI session — everything tied to the local backends or the open/resume choice. Grouped into one struct so the frontend run functions (repl::run / oneshot::run) forward a single value instead of growing a new positional argument every time a local-backend setting becomes configurable.

Functions§

open_local_session
Opens a session running directly on the local machine (both fs and shell use local backends, frontend is Frontend::Cli).