Sling CLI
$ sling Official Med RiskSling CLI (sling) is a fast Go binary for moving and transforming streams across Postgres, DuckDB, Snowflake, S3, and local CSV/Parquet files. Agents can test connections with sling conns test, discover schemas, and execute declarative replication.yaml pipelines non-interactively, though --mode full-refresh can overwrite destination tables.
brew install slingdata-io/sling/sling Streaming bulk rows between databases and Parquet/DuckDB works best directly in shell pipelines rather than routing payloads through MCP.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Fully non-interactive via flags and YAML configs (--src-options, --tgt-options), though execution logs are text-based without a global --json flag.
- Flag-driven
sling runand YAML replication specs - JSON-encoded
--src-optionsand--tgt-optionsinputs
Separates read-only conns test/discover from writes, but full-refresh or truncate modes overwrite destination tables without --dry-run.
sling conns discoveris read-only--mode full-refreshtruncates/replaces targets
Single Go binary installable via Homebrew, PyPI wrapper, or GitHub releases across macOS, Linux, and Windows.
- Homebrew tap,
pip install sling, and static binaries
High-throughput streaming across dozens of SQL warehouses, DuckDB, and object stores with stdin/stdout support.
- Supports incremental syncs, stdin JSON streaming, and Arrow acceleration
Actively maintained by Sling Data (slingdata-io/sling-cli) with frequent connector releases.
- Official
slingdata-io/sling-clirepository
Clear docs at docs.slingdata.io with --help examples for run and conns.
- Official docs site and inline
-h/--helpreference
Security, Auth & Guardrails
Reads connection profiles from ~/.sling/env.yaml or standard environment variables, plus optional SLING_CLI_TOKEN for Pro features.
GPL-3.0 open-source CLI; optional Sling CLI Pro features require a commercial SLING_CLI_TOKEN.
# Sling CLI Agent Rules - Run `sling conns test` and `sling conns discover` before executing `sling run`. - Avoid `--mode full-refresh` on production targets without explicit human approval.
Agent-Ready Command Recipes
Safe Read-Only Queries
sling conns list
Displays configured database and storage connection names without transferring data.
sling conns discover MY_SOURCE_DB --pattern 'public.*'
Validates credentials and lists matching source tables or files safely.
Controlled Writes & Previews
sling run -r replication.yaml
Executes a declarative replication YAML file using pre-reviewed stream modes.
Strengths for Agents
- + Zero-dependency Go binary with fast DuckDB, Postgres, and Parquet/CSV streaming.
- + Clean separation of
sling conns list/test/discoverfor safe pre-flight inspection.
Caveats & Pitfalls
- ! No global
--jsonoutput mode or--dry-runpreview onsling run. - ! Using
--mode full-refreshcan destructively overwrite existing destination tables.