Multiple accounts in config #21
Comments
@pwalsh We really appreciate your feedback. For now, we do it manually by exporting config file(~/.datahub.json) for each account https://github.com/datahq/datahub-cli#configuration. This is really good suggestion. |
@Mikanebu thanks! This is not in the user-facing documentation though. |
@pwalsh I recorded your suggestion. Documentation will be updated |
@Mikanebu can you clarify how you think you'll update the documentation so we can refine here and then implement. |
@rufuspollock I am thinking to add configuration section right after |
@Mikanebu can you write out what you plan to add i.e. the full draft text. I also should say this is probably a relatively secondary issue as most users won't have two accounts at this point! |
@pwalsh we have written a blog post about using multiple datahub accounts: https://datahub.io/blog/how-to-use-multiple-datahub-accounts |
Description
The current config file has a data structure designed around a single account on datahub. I have just started interacting with the system as a user and I already want two accounts (a pseudo org account, and my own account).
Many config files for CLIs support this elegantly. I suggest taking a good look at the
gcloud
CLI and theaws
CLI in terms of user experience if running commands with different users, and the config file itself.The text was updated successfully, but these errors were encountered: