Set up regular scans

Things you'll need to know while setting up regular scans.

Once you are happy with the results, you can set up Omlet CLI to run as part of your build process or schedule regular CLI runs. This way, you will see changes in usage over time and track the new components being added, removed, or updated.

To run Omlet CLI in an automated environment, you'll need to pass the Omlet access token to an environment variable.

You can generate an access token by running:

npx omlet login --print-token

or if you are running it outside of your repository:

npx @omlet/cli login --print-token

Then, set the access token to an environment variable named OMLET_TOKEN. Omlet CLI will automatically search for this specific environment variable.

Last updated