Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
david-allison opened this issue Feb 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@david-allison
Copy link

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

echo "Prettifying files..."
echo "Files:"
prettier $INPUT_PRETTIER_OPTIONS \
|| { PRETTIER_RESULT=$?; echo "Problem running prettier with $INPUT_PRETTIER_OPTIONS"; exit 1; }
echo "Prettier result: $PRETTIER_RESULT"

@david-allison david-allison added the enhancement New feature or request label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant