Skip to content

binnacle template unconditionally prints an extra line of text #5

Description

@jmmk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions