src/App.php
public static function install( Event $event ) {
		$binary_name = 'wpemerge';
		$binary = dirname( __DIR__ ) . DIRECTORY_SEPARATOR . 'bin' . DIRECTORY_SEPARATOR . $binary_name;

		$event->getIO()->write( '' );

		$process = new Process( $binary . ' install' );
		$process->setTimeout( null );

		try {
			$process->setTty( true );

			$process->run( function ( $type, $line ) use ( $event ) {
				$event->getIO()->write( $line );
			});
		} catch ( RuntimeException $e ) {
			$event->getIO()->write( '<error>' . $e->getMessage() . '</error>' );
			$event->getIO()->write( '' );
			$event->getIO()->write( 'Use <comment>./vendor/bin/' . $binary_name . ' install</comment> instead.' );
		}
	}
public static function install( Event $event ) {
		$binary_name = 'wpemerge';
		$binary = dirname( __DIR__ ) . DIRECTORY_SEPARATOR . 'bin' . DIRECTORY_SEPARATOR . $binary_name;

		$event->getIO()->write( '' );

		$process = new Process( $binary . ' install' );
		$process->setTimeout( null );

		try {
			$process->setTty( true );

			$process->run( function ( $type, $line ) use ( $event ) {
				$event->getIO()->write( $line );
			});
		} catch ( RuntimeException $e ) {
			$event->getIO()->write( '<error>' . $e->getMessage() . '</error>' );
			$event->getIO()->write( '' );
			$event->getIO()->write( 'Use <comment>./vendor/bin/' . $binary_name . ' install</comment> instead.' );
		}
	}
public static function install ( Event $ event ) { $ binary_name = 'wpemerge' ; $ binary = dirname ( __DIR__ ) . DIRECTORY_SEPARATOR . 'bin' . DIRECTORY_SEPARATOR . $ binary_name ; $ event -> getIO ( ) -> write ( '' ) ; $ process = new Process ( $ binary . ' install' ) ; $ process -> setTimeout ( null ) ; try { $ process -> setTty ( true ) ; $ process -> run ( function ( $ type , $ line ) use ( $ event ) { $ event -> getIO ( ) -> write ( $ line ) ; } ) ; } catch ( RuntimeException $ e ) { $ event -> getIO ( ) -> write ( '<error>' . $ e -> getMessage ( ) . '</error>' ) ; $ event -> getIO ( ) -> write ( '' ) ; $ event -> getIO ( ) -> write ( 'Use <comment>./vendor/bin/' . $ binary_name . ' install</comment> instead.' ) ; } }
Run with the install command.

@param  Event $event
@return void
Run with the install command .