maxwelllink.cli.mxl_init module¶
Initialize local MaxwellLink workspace links for agent workflows.
This module provides the implementation behind mxl-init and mxl init.
- maxwelllink.cli.mxl_init.initialize_workspace(destination, payload_root, force=False)[source]¶
Initialize a local workspace directory for MaxwellLink agent use.
- Parameters:
destination (pathlib.Path) – Directory where files/symlinks will be created.
payload_root (pathlib.Path) – Root directory containing the install-time workspace payload.
force (bool, default=False) – Whether to overwrite conflicting files/symlinks.
- Raises:
FileNotFoundError – If
payload_rootis invalid.FileExistsError – If conflicts are found and
forceisFalse.
- Return type:
None