Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support twitch-cli env file #5

Open
hardliner66 opened this issue Mar 26, 2021 · 3 comments
Open

Support twitch-cli env file #5

hardliner66 opened this issue Mar 26, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@hardliner66
Copy link
Collaborator

When using the official twitch-cli it will store it's token in ~/.twitch-cli/.twitch-cli.env. We should probably use that file if it exists, so you wont need to login twice.

@ModProg
Copy link
Collaborator

ModProg commented May 2, 2021

While should support that, what would be the best place to store our own token?

.config/twitchctl/config.smth

@hardliner66
Copy link
Collaborator Author

@ModProg we should probably also respect the XDG_CONFIG_HOME env var, if we want to do it properly.

@ModProg
Copy link
Collaborator

ModProg commented May 5, 2021

@ModProg we should probably also respect the XDG_CONFIG_HOME env var, if we want to do it properly.

Already happening, using https://docs.rs/dirs/3.0.2/dirs/

@cafce25 cafce25 added the enhancement New feature or request label May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants