0.3.0 • Published 2d agoCLI
@commercient/dlake
Licence
SEE LICENSE IN LICENSE
Version
0.3.0
Deps
0
Size
13 kB
Vulns
0
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)
@commercient/dlake
npm wrapper for the Commercient Data Lake CLI (dlake). Installing the package
downloads the platform-matched, self-contained native binary and exposes it as
the dlake command.
Install
npm install -g @commercient/dlake
dlake login --domain mycompany --api-key dlk_...
postinstall (install.js) resolves your platform to a runtime id
(win-x64 / linux-x64 / osx-arm64), downloads the matching binary into
bin/, and bin/dlake.js execs it — forwarding argv, stdio, and the exit code.
Configuration
| Env var | Default | Purpose |
|---|---|---|
DLAKE_DOWNLOAD_BASE |
https://downloads.datalake.commercient.com/downloads/dlake |
Binary mirror base URL |
DLAKE_VERSION |
this package's version | Which binary version to fetch |
Download URL layout: <base>/<version>/<rid>/dlake[.exe].
Supported platforms
- Windows x64 (
win-x64) - Linux x64 (
linux-x64) - macOS Apple Silicon (
osx-arm64)
Other platforms fail fast with a clear message.
Development
rid.js holds the pure resolution logic (mirrors the C# RidResolver); run its
checks with node test-rid.js. See ../../docs/cli.md for the full CLI guide.