Using the Lightdash CLI
Authenticating your CLI (login)
Login
Set active project
When you login you’ll be asked to set an active project.
Your active project is just the one that you’re working on/developing in. Your organization might just have one project, so that makes your decision easy!
You can change your active project by running:
Or you can use the LIGHTDASH_PROJECT
environment variable to indicate what project UUID the command should use.
Example:
Now that you’ve logged in, you’re ready to use the CLI
You can see all of the actions available on the CLI by typing this in your terminal:
Some of our favourites are: