sfdx-hydrate
sfdx-hydrate copied to clipboard
Consider using an output file parameter, instead of printing to the console
Printing to the console and piping that result around is the "UNIX" way of doing things. It works but there are a couple of drawbacks.
- If the command prints errors to the console, those errors are piped into the package.xml file.
- You can't print status messages to the console while the job runs.
Add an output file parameter to the command line, and write directly to that file on success.