import resolve from 'resolve' ; import { clearExecArgv } from '../utils/clearExecArgv' ; import { handleErrors } from '../utils/handleErrors' ; import { initSentry } from '../utils/sentry' ; clearExecArgv ( ) ; initSentry ( ) ; handleErrors ( ) ; resolve ( '@tramvai/cli/lib/cli' , { basedir : process . cwd ( ) , } , ( error , projectLocalCli ) => { if ( error ) { require ( './bin-local' ) ; } else { require ( './runCLI' ) . default ( projectLocalCli ) ; } } ) ;