-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
Docker - Add examples to readme of using a dockersed image of shfmt
.
#121
Conversation
I made a docker image of `shfmt`, so I thought I would share it. If you would like I would be happy to make this more official by putting it as part of your repo.
Right, @mvdan I've been thinking about adding |
Could you open a separate issue about that? With a proposal on how it would be implemented, in particular. |
cheers have now limited it to just the related projects sections :) |
@@ -87,6 +87,7 @@ the parser and the printer. To get started, run: | |||
|
|||
* [format-shell] - Atom plugin for `shfmt` | |||
* [shell-format] - VS Code plugin for `shfmt` | |||
* [dockerised-shfmt] - A docker image of `shfmt` **Example:** `docker run -it --rm -v "$(pwd)":/sh -w /sh jamesmstone/shfmt -l -w script.sh` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the example too - the info should be in the page the link points to. Otherwise the README would be a wall of text :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to mark the PR as needing changes.
I've taken the liberty of cleaning up the patch and applying it to master, keeping you as the author. Thanks again! |
I made a docker image of
shfmt
, so I thought I would share it. If you would like I would be happy to make this more official by putting it as part of your repo.