💫 Refactor configure / login to graph API
@leny 已经在做这个了。
开始于 2019年10月20日。
评估
这个 Issue 还没有评估数据。
描述
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
- 主要语言
- JavaScript
- 星标
- 6
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
becodeorg/cli 的其他 Issue
-
📑 Generate PDF exports of promo's timesheet可能重新可做 @leny 于 2548 天前认领,目前没有进行中的 PR。 未关闭enhancement
-
🎞 Add gif demo in README可能重新可做 @leny 于 2692 天前认领,目前没有进行中的 PR。 未关闭enhancement
-
📹 Add a video introduction/tutorial可能重新可做 @leny 于 2692 天前认领,目前没有进行中的 PR。 未关闭enhancement
-
enhancement
难度 2/5 1-3 小时 新手友好度 35/100
-
🌟Auto-update promos data from GraphQL API可能重新可做 @leny 于 2693 天前认领,目前没有进行中的 PR。 未关闭enhancement
相似的 Issue
-
bug MVP
难度 2/5 1-3 小时 新手友好度 68/100
saayam-for-all/webapp#1911 ·
维护者通常 1 天内回复
-
[Focus] Accessibility (a11y) [Package] Grid [Type] Bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
Cancelled query leaves stale row index; next query on the connection returns leading empty slots可能已有人在做 @pislm 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 7 天内回复
-
Harden bayesian-waves-bg.js: add prefers-reduced-motion, pointer-events guard, and hidden-tab pause未关闭
难度 2/5 1-3 小时 新手友好度 85/100
-
难度 1/5 1 小时以内 新手友好度 90/100
njitacm/njit-acm-website#109 ·