Why can't I use validations on environment_variables in bashly.yml #545
-
Bashly supports validations for arguments and flag arguments but not for environment variables. Why?
This would save me from having to write my own "folder exists" validation function.. unless I'm missing something? Thanks for reading! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I need to look into it. I don't remember if the omission was intentional or not. |
Beta Was this translation helpful? Give feedback.
-
I worked around it by doing this:
Seems a bit hacky but I guess it does work :) |
Beta Was this translation helpful? Give feedback.
Hacky. I have implemented it in #546.
Initial implementation works, I just need now to complete tests, docs etc.
Will be available soon.
One thing it raises - the custom strings file is showing its age. I will need to normalize it (read: rename some keys) - but this will be a breaking change for a future release.