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: Adds formatting of yaml output #43

Closed
wants to merge 1 commit into from

Conversation

kenjones-cisco
Copy link
Contributor

The format produced by gopkg.in/yaml.v2 produces output while valid
is not easy to read especially for arrays.
Adds formatter to handle formatting the marshalled yaml content.
Applies similar logic used by encoding/json.Indent.

Resolves: #25

The format produced by `gopkg.in/yaml.v2` produces output while valid
is not easy to read especially for arrays.
Adds formatter to handle formatting the marshalled yaml content.
Applies similar logic used by `encoding/json.Indent`.

Resolves: #25
@kenjones-cisco
Copy link
Contributor Author

Not going to work, would have to end up copying most if not all of encoder.go from go-yaml. As such, just going to close and wait for updates to go-yaml to happen.

@kenjones-cisco kenjones-cisco deleted the feature/format-yaml branch September 26, 2017 14:15
@varac varac mentioned this pull request Aug 23, 2018
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

Successfully merging this pull request may close these issues.

None yet

1 participant