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 for multiple tokens? #34

Closed
jamiesonio opened this issue Jun 28, 2017 · 2 comments
Closed

Support for multiple tokens? #34

jamiesonio opened this issue Jun 28, 2017 · 2 comments

Comments

@jamiesonio
Copy link

Is there currently support for or any plans to add support for multiple tokens? I have a workaround of swapping which .stokenrc file in my home directory based on which token I want active but it'd be nice if there was native support for multiple tokens.

Thank you for this very useful tool

@TryTryAgain
Copy link

I was looking for a solution. I think this issue can be closed, it appears it is supported already...

Example:

Import your first token, move it to .token1
mv .stokenrc .token1

Import your next token, move it to .token2
mv .stokenrc .token2

Then you can access with the built in --rcfile option to access them separately:
stoken tokencode --rcfile=.token1
stoken tokencode --rcfile=.token2

@jamiesonio
Copy link
Author

Thank you. I have been using a wrapper script to swap tokens from .stoken/token1 / .stoken/token2 to .stokenrc but this is a better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants