factor_agent.cli#

The factor-agent console script: factor-agent check <config> [--ping].

check prints the report of Campaign.check and exits with status 1 when it holds a problem, 0 otherwise. A config that cannot be read is the report’s first and only problem, printed like any other, not a traceback.

Functions

check

The report of the campaign config at path: Campaign.check's, or the problem of reading the config.

main

Run the factor-agent console script; return its exit status.