-
Notifications
You must be signed in to change notification settings - Fork 48
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
Option to specify format options directly through CLI args #88
Comments
|
Thanks for making an issue! This would be harder than it sounds. I could do it, but I would need to redesign how the tool actually discovers its config. As a quicker thing, the tool does support using a |
I think I've come up with a sane way to do this now, it will be in the next release. |
This is merged! You can try it out by installing from main: |
Thanks a lot! |
I use
yamlfmt
in my NVIM setup. I want to avoid creating aconfig.yaml
and instead configure the formatting behaviour through the CLI args instead. Most other formatters already support this.For example, to set the
max_line_length
, I just wish to do the following:The text was updated successfully, but these errors were encountered: