creyD / prettier_action

GitHub action for running prettier on your projects pull requests
MIT License
276 stars 87 forks source link

[FEATURE] Print the `prettier` command to be executed before executing it #137

Open david-allison opened 8 months ago

david-allison commented 8 months ago

What would you like to change about the program? Print the prettier command to be executed before executing it

Why do you think this is a cool idea? New contributors, may not have prettier installed locally and need to set it up. After setup, they need to execute it.

It becomes easier for these contributors to understand what is needed in the execution stage if the full command which prettier_action executes is printed

https://github.com/creyD/prettier_action/blob/9561a3f1e164fa28b6f4da59c1807e1cd1af7cf5/entrypoint.sh#L72-L77