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

Multiple instances of CLI #6

Closed
vreddhi opened this issue Jun 28, 2017 · 1 comment
Closed

Multiple instances of CLI #6

vreddhi opened this issue Jun 28, 2017 · 1 comment

Comments

@vreddhi
Copy link

vreddhi commented Jun 28, 2017

This isnt an issue. A question/feedback.

Calling akamai get will download and install the command repository to the $HOME/.akamai-cli directory.

What if i want to have multiple separate instances of akamai CLI. As we are using $HOME here, looks like it will be shared across instances. Do you think its better to update/change to a relative path of CLI installed folder?

@dshafik
Copy link
Contributor

dshafik commented Jul 15, 2017

@vreddhi we don't anticipate needing multiple versions of the same command installed.

I had originally made akamai search the users $PATH (with $HOME/.akamai-cli added to the end) which would allow you to override commands by manipulating $PATH but it was removed in favor of simplifying.

I could see adding an AKAMAI_CLI_HOME environment variable that overrides the use of $HOME if there is justification for doing so. At the current stage of the project, where everything is brand new, and backwards compatibility breaks are non-existent, it just isn't necessary.

Do you have a use-case?

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

No branches or pull requests

2 participants