sfdx-hydrate icon indicating copy to clipboard operation
sfdx-hydrate copied to clipboard

Consider using an output file parameter, instead of printing to the console

Open loganm opened this issue 6 years ago • 0 comments

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.

loganm avatar May 20 '18 22:05 loganm