Omlet Docs
Ask or search…
K
Comment on page

Setting up regular scans

Once you are happy with the results, 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, pass the Omlet access token to an environment variable:
  1. 1.
    You can generate an access token by running: npx omlet login --print-token (or npx @omlet/cli login --print-token if you are running it outside of your repository)
  2. 2.
    Then, set the access token to an environment variable named OMLET_TOKEN. Omlet CLI will automatically search for this specific environment variable.