I am writing some custom WP CLI commands. In those commands, I am attempting to use the WP_CLI::runcommand() function, however, no matter what WP CLI command I attempt to get it to run, it always returns “Could not open input file: /Applications/Local” I am on MacOS, on the latest version of the WP CLI and the latest version of Local.
Local itself is running just fine. The error occurs on my computer regardless of what Local environment I run it in.
Use an WP CLI command that uses the runcommand() function
What Operating System (OS) and OS version is being used?
macOS Big Sur
Attach the Local Log. See this Help Doc for instructions on how to do so:
I checked the log already, there is nothing remarkable there related to this issue.