lakexpress_preview_command
Build and preview a LakeXpress CLI command without executing it. Shows the exact command to run before passing to execute.
Instructions
Build and preview a LakeXpress CLI command WITHOUT executing it. Call this after lakexpress_suggest_workflow to build each command in the recommended sequence. Shows the exact command that will be run. Does NOT execute the command or validate connections. After reviewing, pass the command to lakexpress_execute_command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The LakeXpress command to run. logdb_init/lxdb_init: initialize databases. config_create: set up sync configuration. sync/sync_export/sync_publish: execute pipeline steps. run: full pipeline execution. status: check pipeline status. cleanup: remove completed data. | |
| logdb_init | No | Initialize the log database schema. Creates required tables for sync management. | |
| logdb_drop | No | Drop the log database schema. WARNING: permanently deletes all sync history and configuration. | |
| logdb_truncate | No | Clear all data from the log database while keeping the schema. | |
| logdb_locks | No | Show currently locked tables in the log database. | |
| logdb_release_locks | No | Release stale or stuck table locks in the log database. | |
| lxdb_init | No | Initialize the log database schema (0.3.0+ replacement for logdb_init). | |
| lxdb_drop | No | Drop the log database schema (0.3.0+ replacement for logdb_drop). WARNING: permanently deletes all sync history. | |
| lxdb_truncate | No | Clear all data from the log database while keeping the schema (0.3.0+ replacement for logdb_truncate). | |
| lxdb_locks | No | Show currently locked tables in the log database (0.3.0+ replacement for logdb_locks). | |
| lxdb_release_locks | No | Release stale or stuck table locks (0.3.0+ replacement for logdb_release_locks). | |
| config_create | No | Create a new sync configuration. Requires source DB credentials and either output_dir (local) or target_storage_id (cloud). Add publish_target for data lake publishing. | |
| config_delete | No | Delete a sync configuration. | |
| config_list | No | List all sync configurations. | |
| sync | No | Run a full sync (export + publish). Exports data and publishes if configured. | |
| sync_export | No | Run export-only sync (no publish). Exports data to local or cloud storage. | |
| sync_publish | No | Run publish-only sync. Publishes previously exported data to the configured target. | |
| run | No | Run a multi-step pipeline from a YAML config file. | |
| status | No | Show sync run status and history. | |
| cleanup | No | Clean up old or failed sync runs. | |
| os_type | No | Target operating system for command formatting | linux |