javanile / yamlinc

Compose multiple YAML files into one with $include tag. Split Swagger/OpenAPI into multiple YAML files.
MIT License
114 stars 22 forks source link

It would be good to support .yaml file extension #1

Closed StephenNay closed 5 years ago

StephenNay commented 6 years ago

This is a nice little tool, but I initially had trouble with it because all of my YAML files use .yaml instead of .yml as the file extension. When I tried to use yamlinc with one of those files, all I got was

Arguments error >> missing file name.

After trying a few other things, I eventually guessed that yamlinc might only recognize .yml file extensions, which turned out to be correct.

If you get a chance, please modify yamlinc to recognize .yaml file extensions as valid.

francescobianco commented 6 years ago

@StephenNay Good news! Support for multiple file extension is now on v0.0.63. try to update $ npm install -g yamlinc

Zaijo commented 5 years ago

@francescobianco Isn't this already solved? npm has v0.1.1 already.

francescobianco commented 5 years ago

@StephenNay @Zaijo Yes! It works!