slingdata-io / sling-cli

Sling is a CLI tool that extracts data from a source storage/database and loads it in a target storage/database.
https://docs.slingdata.io
GNU General Public License v3.0
301 stars 16 forks source link

use DUCKDB_PATH to override path to duckdb binary #228

Closed sohooo closed 3 months ago

sohooo commented 3 months ago

This way, users are not forced to download a binary from GitHub into their home dir. With DUCKDB_PATH, it's now possible to use the binary from the preferred package manager, e.g.: Homebrew:

export DUCKDB_PATH=/opt/homebrew/bin/duckdb
sling run --src-stream file://./postgres.csv --tgt-conn DUCKDB --tgt-object clusters