App runner function type. Returns exit code.
typedef AppRunner = FutureOr<int> Function(TermLib term);