Skip to content

xlflow init

Initialize an xlflow project from an existing workbook.

Usage

bash
xlflow init <workbook> [--with-skill] [--agent <provider>] [--no-update-check]

Options and Arguments

Option / argumentDescriptionDefault
workbookExisting workbook to bind to the new project.required
--with-skillInstall the bundled AI-agent skill.false
--agent <provider>Choose the agent skill provider.-
--no-update-checkSkip the startup update check.false

Examples

bash
xlflow init LegacyBook.xlsm
xlflow init LegacyBook.xlsm --with-skill --agent codex --json

Notes

IMPORTANT

Imported UserForm projects may use compatibility form code handling. New scaffolds use the safer sidecar layout for form code.

TIP

Run xlflow pull --json after init to create the first source-controlled snapshot.

JSON Output Example

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

json
{
  "status": "ok",
  "command": "init",
  "workbook": "LegacyBook.xlsm",
  "config": "xlflow.toml"
}

Released under the MIT License.