mix lightning.adaptors.refresh (Lightning v2.19.0)

View Source

Trigger an adaptor catalogue refresh from the command line.

Usage

mix lightning.adaptors.refresh
mix lightning.adaptors.refresh --name @openfn/language-http

Without --name, starts a refresh cycle (or joins one already running) and waits for it to finish. With --name, refetches that one adaptor.

Exit codes

  • 0 - success
  • 1 - package name not found
  • 2 - any other error, including a source that could not be listed or a refresh that took longer than 10 minutes