shell-command
shell-command copied to clipboard
Opens an interactive PHP console for running and testing PHP code.
## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). When dealing with complex queries, WP Shell often dumps large volumes of data on to my screen. For example,...
## Feature Request Add support for default shell on OpenBSD (`ksh`). **Describe your use case and the problem you are facing** Trying to use `wp shell` cmd under OpenBSD results...
## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** Making typos/etc often results in a fatal error, and...
I haven't had the chance to dig into this further, but just wanted to log this somewhere to prevent forgetting about it. Assigning a value to `$line` in `wp shell`...
## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **The shell binary...
No benefit to excluding it, and trying to use it throws a parse error because of the prepended `return`.