import config from "./config" ; import Processor from "./main" ; async function main ( ) { config . validate ( { allowed : "strict" } ) ; const processor = new Processor ( config ) ; const result = await processor . run ( ) ; config . logger . info ( result ) ; process . exit ( 0 ) ; } main ( ) . catch ( ( err ) => { console . error ( err ) ; process . exit ( 1 ) ; } ) ;