import exit from 'exit' ; import ( 'v8-compile-cache' ) ; export default ( pathCli ) => { const cli = require ( pathCli ) . cliInitialized ; return cli ( ) . then ( ( ) => { exit ( 0 ) ; } ) . catch ( ( ) => { exit ( 1 ) ; } ) ; } ;