Open maleck13 opened 8 years ago
It would be nice to do separate implementation that would just get config as parameter then cli can pass that from file etc. To do this login should return user data structure and cli and other clients would be responsible for storing this somewhere or even logging every time call it's needed. Going to create PR with example.
As we are focusing on the developer side of things, it would be nice if this could be used programatically as well as a cli. This requires some thought as the config currently is stored on disk. Essentially we would need a user data that is in memory and expose a method that doesn't take a cli.Context and instead takes a proper set of arguments. @wtrocki @luigizuccarelli @mmurphy