# hello-plus/trunk/tests/playwright/assets/wp-cli.ts

Hello Plus, version trunk. 7 lines.

- Page: https://pluginprobe.com/plugins/hello-plus/trunk/code/tests/playwright/assets/wp-cli.ts
- Raw: https://pluginprobe.com/plugins/hello-plus/trunk/raw/tests/playwright/assets/wp-cli.ts
- Modified: 2025-04-27T11:56:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/hello-plus/trunk/code/tests/playwright/assets/wp-cli.ts#L10-L20`.

```typescript
export const wpCli = async ( command: string ) => {
	const port = ( 1 === Number( process.env.TEST_PARALLEL_INDEX ) ) ? 8889 : 8888;

	const { cli } = await import( '@elementor/wp-lite-env' );
	await cli( port, command );
};

```
