adobe / adobe/aio-cli-plugin-console

ensure developer terms have been accepted

オープン
#203 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
JavaScript
スター
8
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

Not sure if we need to run this for every command, but we should be able to handle a:
```
451 - Unknown
» ("Use POST /console/services/ims/organizations/:orgId/terms API to accept
» developer terms for your org first. You can use GET
» /console/services/ims/terms to retrieve the current developer terms.")
```
See usage in the app plugin:
https://github.com/adobe/aio-cli-plugin-app/blob/fd8d39512c1cf4c7ddf3d731d1ffe5cc68b536ac/src/commands/app/init.js#L196-L212

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず src/commands/app/init.js の196-212行にある app plugin の参照されている使用箇所から始め、次に console plugin のコマンドエントリポイントと、表示されている451レスポンスの処理を調べてください。関連するコマンドフローが developer-terms 要件を一貫して処理し、得られたガイダンスを issue に記載された terms APIs に照らして検証できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, nodejs
領域
api, cli
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。