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 request] add flag to disable wrapping when using --yaml-output or --yaml-roundtrip #113

Open
kindrowboat opened this issue Feb 2, 2021 · 1 comment

Comments

@kindrowboat
Copy link

Hello! Thank you for this tool. I've been using it for a while in a few projects. In one of my projects, I am emailing and SMSing the resulting YAML (I know, a little weird,) and so the word wrapping can look off, especially if the recipient is using a non-fix-width. I know you can set --width to be arbitrarily large, but to me that feels a little clunky. Would you consider adding a flag, (e.g. --no-width or --no-wrap) to disable the wraping?

If you're OK with adding that flag, I'd be happy to submit a PR.

@kislyuk
Copy link
Owner

kislyuk commented Feb 2, 2021

This sounds good to me. I think I'd prefer to have --width 0 to trigger this. Please open a PR.

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

2 participants