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

cmd: allow customization of ~/.tsuru via environment variable #1312

fsouza opened this issue Nov 4, 2015 · 0 comments


None yet
1 participant
Copy link

commented Nov 4, 2015

I'd like to propose introducing a new environment variable that affects how the command line framework works: TSURU_HOME. It would allow the user to customize where to store token, targets and plugins, and allow us to remove the fs abstract layer that is ugly and exits only for testing purpose.

Third-party packages that use the cmd framework already use TSURU_TARGET and TSURU_TOKEN environment variables for overriding these values on test, so the abstraction layer and the mocked filesystem are really not needed in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.