GovReady / Issue-Packs

Generate packs of compliance related issues for GitHub issues
MIT License
2 stars 3 forks source link

Use basic authentication #2

Closed cmbirk closed 8 years ago

cmbirk commented 8 years ago

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.

cmbirk commented 8 years ago

It's currently set up to use flags. I'm not sure the .env file makes sense if we're running this as a cli tool. I'm going to remove that option.