Skip to content

Conversation

adamziel
Copy link
Collaborator

Motivation for the change, related issues

Pre-requisite for #2699. Empowers developers to create terminal-enabled apps by exporting the splitShellCommand() utility that was internal before.

import { splitShellCommand } from "@php-wasm/util";
splitShellCommand('wp create post --title="Great post title!"');
['wp', 'create', 'post', '--title=Great post title!']

@adamziel adamziel merged commit 6b2bafa into trunk Sep 30, 2025
25 of 26 checks passed
@adamziel adamziel deleted the export-split-shell-command branch September 30, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant