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

binnacle template unconditionally prints an extra line of text #5

Open
jmmk opened this issue Jan 12, 2021 · 0 comments
Open

binnacle template unconditionally prints an extra line of text #5

jmmk opened this issue Jan 12, 2021 · 0 comments

Comments

@jmmk
Copy link
Contributor

jmmk commented Jan 12, 2021

Running binnacle template produces something like the following

$ binnacle template -c file.yml
Loading config file: file.yml
---
some: yaml
---
other: yaml

Where the first line printed is Loading config file: file.yml. When attempting to use the output of binnacle template to inspect the yaml files that are rendered, this line is unexpected and unnecessary.

Funny enough, Loading config file: file.yml is valid yaml, so it does parse without errors. The workaround, then, is to simply discard the first yaml object encountered when reading the rendered output.

What I would expect is to have a flag that would turn off all logging / extraneous output and only output the rendered yaml files.

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