wirekite-cli wraps the REST API. Every command maps to one REST call (noted as → METHOD path).
Global Flags
Set on every command, or via environment variable.
Example — set once in the shell:
All Commands at a Glance
wirekite health
No flags. → GET /v1/health.
wirekite source …
--param key=value is repeatable and provides the connection parameters (host, port, username, password, database, etc.).
--type ∈ mysql | mariadb | postgres | oracle | sqlserver.
Example:
wirekite target …
Same flag shape as source. Queue targets use --param brokers=… --param topic=… (optional batchSize, compression).
--type ∈ spanner | bigquery | snowflake | databricks | singlestore | firebolt | postgres | mysql | mariadb | oracle | sqlserver | mongodb | kafka | redpanda | pubsub.
Example (Spanner):
wirekite migration …
Example:
wirekite prereqs / wirekite validate
Both take the same flags. prereqs just prints the SQL you need to run; validate connects and checks each prerequisite.
Required: --source-type, --target-type, --tables, --mode (data | replication | data+replication).
Optional: --source-param key=value (repeat), --target-param key=value (repeat), --schema-rename old:new.
Calls: POST /v1/prereqs / POST /v1/validate.
wirekite schema … and wirekite objects apply
Data & Replication
All four start commands default to polling status every 10 seconds and redrawing a progress line. Use--async for fire-and-forget (returns operation id and exits).
--position format by source: MySQL file:offset, Oracle SCN, SQL Server hex LSN. Ignored when --resume is set.
wirekite reset / wirekite validate-data
wirekite status
Required: --migration. → GET /v1/migrations/:name/status.
wirekite operation …
cancel sends SIGTERM (graceful); stop sends SIGKILL (immediate, also sweeps orphaned children).