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`.
Bash's `history -s` command interprets strings starting with `-` as options rather than arguments, causing errors when users enter expressions like `-1` or `--help` in the shell REPL. ## Changes...
## Bug Report - [ ] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [ ] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe...
The `wp shell` command is super useful for debugging sessions, however it is quite tedious when you need to make code changes, as it does not reload the modified code....
- [x] Understand current codebase structure and how REPL works - [x] Implement restart functionality in REPL class - [x] Add special command detection for 'restart' - [x] Return special...