-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When the graphAPI coming to production, it will be better to hook the cli to the graph API.
The cli will become a client, and will not need to be a second source of data.
The primary goal is to allow becode users to log into the API from the cli, then we will be able to replicate some mybecode actions from the cli (we already have the needs for some coaches).
TODO
- Remove the
configurecommand - Implement the following commands:
-
login(use the graph APIloginWithGitHubmutation)- To implement OAuth2, use a local koa instance to handle the return URL
-
logout(use the graph APIrevokemutation)
-
- save the token in
~/.becode.cli.jsonfile - refactor
opencommand to use the graph API data
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request