Skip to content

[FEATURE REQUEST] Accept a env variable at the config for token #61

@cherryramatisdev

Description

@cherryramatisdev

This will mostly help people that uses more than one account in github and constantly switch tokens, today I'm being forced to maintain it manually like the following:

[prr]
# personal accountn
token = "token_here_personal"
# work account
# token = "token_here_work"
workdir = "/tmp/"

Maybe we could accept something simple like:

[prr]
token = "$ENV_VAR_HERE"

And parse it checking for the $ prefix? Or maybe create another field token_var if it's easier to check.

I'm willing to develop a PR for this feature! Just want to chat about it first

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions