-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
EDIT: Halt should get documented so people can know how it exists.
Old description below:
Hello! I'm trying to convert some existing code that uses child_process to zx. It's working fine, but I want to print out the commands that are run. I know I can enable verbose mode and override the logger, but that isn't as flexible as the logging I need to do. I see zx 8 uses zurk under the hood, which has a buildCmd function. While that could work, it's not a template tag, so I'd need to manually verify it's actually what zx is running. I'd love an API to create commands without running them (as I think about it, it'd also be useful if xz exposed an exec function to run a command from the proposed builder tag).
- I'd be willing to PR this if this is a direction you're willing to consider.
Reactions are currently unavailable