Skip to content

xlflow macros

Discover runnable public workbook macro entrypoints without executing user code.

Usage

bash
xlflow macros [--session] [--keepalive] [--keepalive-interval <duration>]

Options and Arguments

Option / argumentDescriptionDefault
--sessionRead macro metadata from the managed live workbook.false
--keepaliveReuse the bridge process.false
--jsonReturn macro names and module metadata.false

Examples

bash
xlflow macros
xlflow macros --session --json

Notes

TIP

Run macros --json before run so agents can choose an exact entrypoint.

IMPORTANT

This command inspects workbook state; it does not execute discovered macros.

JSON Output Example

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

json
{
  "status": "ok",
  "command": "macros",
  "macros": [{ "module": "Main", "name": "Run", "entry": "Main.Run" }]
}

Released under the MIT License.