I'm thinking that the first two should be allowed. The third would likely break interoperability in future milestones / features.
If there is a .env file present, pull the configs from those. Also allow the Github username / password to be included at runtime using flags, eg. -u yourusername -p yourpassword.
If no credentials are supplied via either method, throw an error and exit.
Options I see for setting this up are:
I'm thinking that the first two should be allowed. The third would likely break interoperability in future milestones / features.
If there is a
.env
file present, pull the configs from those. Also allow the Github username / password to be included at runtime using flags, eg.-u yourusername -p yourpassword
.If no credentials are supplied via either method, throw an error and exit.