Skip to content

xlflow session

Keep Excel and the configured workbook open across repeated commands.

Usage

bash
xlflow session start
xlflow session status
xlflow session stop

Options and Arguments

Option / argumentDescriptionDefault
startOpen and register the managed workbook session.-
statusShow whether the session is running and dirty.-
stopClose or detach the managed session.-
--jsonReturn machine-readable session state.false

Examples

bash
xlflow session start --json
xlflow session status --json
xlflow session stop --json

Notes

TIP

Use sessions for fast AI-agent loops: push --session --no-save, run --session, inspect results, then save --session.

WARNING

A dirty session may report save_required. That warning means disk does not yet contain the live workbook changes.

JSON Output Example

Successful --json output uses the xlflow envelope plus command-specific fields.

json
{
  "status": "ok",
  "command": "session status",
  "session": { "name": "default", "running": true, "dirty": false }
}

Released under the MIT License.