pickware / scs-commander

A CLI tool for managing plugins in the Shopware Community Store.
MIT License
13 stars 2 forks source link

Output meta information to stderr #12

Closed cjuner closed 6 years ago

cjuner commented 6 years ago

This way, relevant information can be more easily processed when being piped into other programs.

This also applies to a file newly introduced in https://github.com/VIISON/scs-commander/pull/11. So merge that first.

cjuner commented 6 years ago

@svenmuennich To be honest, for some subcommands I found it hard to conceive what exactly someone might want to process when piping into another command.

Most remaining console.logs are in compability.js and upload.js and I'm not really sure, how to handle these. I'd suggest we only change them further when we find a specific use case.

svenmuennich commented 6 years ago

Well, but what about this instance then? I'd assume that that's actually the information someone would want to get when piping the output of the compatibility command.

cjuner commented 6 years ago

Changed as requested in https://github.com/VIISON/scs-commander/pull/12#issuecomment-370733996.

Remember to git rebase --autosquash before merging.