The runCommand export from zimic/interceptor/server was provided as a utility to programmatically run interceptor servers. However, providing an API to run commands is not the purpose of Zimic and runCommand could be used in not planned ways, since it is not tied in any way to interceptor servers.
Proposal
Remove runCommand in v0.8
Update documentation and examples to use execa instead, which is a very popular library dedicated to commands.
The
runCommand
export fromzimic/interceptor/server
was provided as a utility to programmatically run interceptor servers. However, providing an API to run commands is not the purpose of Zimic andrunCommand
could be used in not planned ways, since it is not tied in any way to interceptor servers.Proposal
runCommand
in v0.8