davidrjonas / composer-lock-diff

See what has changed after a composer update
MIT License
274 stars 18 forks source link

filter output: show dev or production changes only #17

Closed wiese closed 5 years ago

wiese commented 6 years ago

Add options to show dev (--dev-only) or production (--no-dev) changes only - to avoid having to filter the output later if only one piece of information is relevant.

Sample use:

./composer-lock-diff --no-dev
wiese commented 6 years ago

@davidrjonas Please let me know if you consider this useful at all or require changes for it to make it into the main line. Thank you.

davidrjonas commented 5 years ago

Thanks again, Wiese. I've made some changes to the implementation to include json output and to give some consistency to the flag names. Hope this works for you!