Admiral-Piett / goaws

AWS (SQS/SNS) Clone for Development testing
MIT License
770 stars 145 forks source link

Allow either `goaws.yml` or `goaws.yaml` config by default #239

Closed danilofuchs closed 1 year ago

danilofuchs commented 3 years ago

I've had much trouble trying to configure the project by making the mistake of naming the file as goaws.yml

The extension is interchangeable in many contexts, but goaws expects .yaml

Admiral-Piett commented 1 year ago

@danilofuchs I was having a look at this issue with @chrisdaly3 yesterday. I don't think I completely understand the issue app/conf/goaws.yaml is just the default file, you aren't required to use it. You should be able to copy this file and then pass in your new file on start up like below, and that can be whatever you want, .yml or .yaml.

goaws -config /path/to/file.yml

Let me know how that works for you!

danilofuchs commented 1 year ago

That was a long time ago, I probably didn't realize there was a config flag.

It should probably be closed, does not make much sense to maintain 2 default file names and .yaml is much more common

Admiral-Piett commented 1 year ago

Awesome, that's exactly what I was thinking too. Thanks @danilofuchs for clarifying. Closing this out.