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

Print leading '---' #4

Open
msiebuhr opened this issue May 29, 2020 · 0 comments
Open

Print leading '---' #4

msiebuhr opened this issue May 29, 2020 · 0 comments

Comments

@msiebuhr
Copy link

It would make it trivial to apply multiple yamlfmt'ed files for sending over pipes and such:

cat lots-of-yaml/* | ssh bastion ... kubectl apply -f -

(ATM, I have to apply them one a time OR manually stitch them together).

While I've mostly been hand-writing YAML (horay for auto-formatting!), quite a few linters get annoyed about the missing trible-dash in the beginning of the document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant