require ( "yargs" ) . command ( require ( "./agents/bot" ) . default ) . command ( require ( "./tps" ) . command ) . command ( require ( "./e2e" ) . command ) . command ( require ( "./agents/bench" ) . default ) . demandCommand ( 1 , "Choose a command from the above list" ) . help ( ) . argv ; process . on ( "unhandledRejection" , ( e ) => { console . error ( `UnhandledPromiseRejection: ${ e ?. body ?. error ?. message || e ?. message || e }` ) ; process . exit ( 1 ) ; } ) ;