As today, it a custom context file is set, then the code check for the existence of the context file and fails if it does not exist, however, this is not true for custom configuration location. This PR aims to make config and context behaving consistently.
Verification Steps
Set RHOASCONFIG to an not existing file
Run rhoas
No error should be reported and the RHOASCONFIG file should have been created
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
As today, it a custom context file is set, then the code check for the existence of the context file and fails if it does not exist, however, this is not true for custom configuration location. This PR aims to make config and context behaving consistently.
Verification Steps
RHOASCONFIG
to an not existing filerhoas
RHOASCONFIG
file should have been createdType of change