We now need the CLI command counterpart for `GH_ISSUES_TO_RSS_GITHUB_TOKEN`, so we can specify all from command line
TehPeGaSuS opened this issue · comments
Since GitHub PAT (Personal Access Token) is now supported, having the ability to specify it directly on the arguments would be awesome.
Something like: gh-issues-to-rss -server -port 8080 -cache-timeout 720 -access-token <access_token>
Cheers!
I guess that could be useful. I think if we were to implement it, we could give the cli args higher precedence over the env variable.
That'd be a way to do it, yes.
I just think that the usefulness of the CLI arguments is indeed great because you don't need to set environment variables, which can be useful if we are running several instances under the same user.
Cheers
I just think that the usefulness of the CLI arguments is indeed great because you don't need to set environment variables, which can be useful if we are running several instances under the same user.
FYI, you can just env variable per run. For example if you can use the command like below to set the token just for that run.
$ GH_ISSUES_TO_RSS_GITHUB_TOKEN="mytoken" gh-issues-to-rss