Skip to content

CLI Commands

The otso CLI orchestrates imports, publishing, and maintenance.

  • --config <file> – path to config file.
  • --db <url> – override database connection.
  • -v / --verbose – increase logging.

Run a source adapter.

Terminal window
otso import github <user>

Publish an existing event.

Terminal window
otso publish mastodon 1234

Send queued Webmentions.

  • 0 – success
  • 1 – generic error
  • 2 – configuration or validation error