
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@lightdash/cli
Advanced tools
Lightash CLI tool
npm i -g @lightdash/cli
Usage: lightdash [options] [command]
Options:
-h, --help display help for command
Commands:
version output the version number
[dbt_command] runs dbt
help [command] display help for command
eg: ligthdash test
Runs dbt test
First build the package
pnpm cli-build
Then run the cli commands with node
and pointing to the dist/index.js
file
Lightdash login
node ./packages/cli/dist/index.js login http://localhost:3000
Lightdash compile
node ./packages/cli/dist/index.js compile --project-dir ./examples/full-jaffle-shop-demo/dbt --profiles-dir ./examples/full-jaffle-shop-demo/profiles
Lightdash generate
node ./packages/cli/dist/index.js generate --project-dir ./examples/full-jaffle-shop-demo/dbt --profiles-dir ./examples/full-jaffle-shop-demo/profiles
Lightdash preview
node ./packages/cli/dist/index.js preview --project-dir ./examples/full-jaffle-shop-demo/dbt --profiles-dir ./examples/full-jaffle-shop-demo/profiles
Lightdash run
node ./packages/cli/dist/index.js dbt run --project-dir ./examples/full-jaffle-shop-demo/dbt --profiles-dir ./examples/full-jaffle-shop-demo/profiles -s
If you want to test different dbt versions, you can replace the string dbt
in the "execa" calls in the package with dbt${YOUR_VERSION}
, eg: dbt1.8
.
FAQs
Lightdash CLI tool
The npm package @lightdash/cli receives a total of 14,876 weekly downloads. As such, @lightdash/cli popularity was classified as popular.
We found that @lightdash/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.