adobe / adobe/aio-cli-plugin-runtime

omit code on action get

オープン
#79 コメント 1 件 リアクション 0 件 担当者 1 名 @florind-ens が担当を希望しています GitHub で見る
enhancement help wanted
主要言語
JavaScript
スター
21
フォーク
33
PR マージ指標
30日以内にマージされた PR はありません

説明

**Is your feature request related to a problem? Please describe.**
When doing action get, omit the `code` by default. Instead only fetch the code with `--save[-as]`.

**Describe the solution you'd like**
The code part of an action could be quite large. The API host allows the omission of the `code` property from the response. This would reduce unnecessary fetches from the API host while also keeping the action get result compact.

The API call becomes:
`api/v1/namespaces/_/actions/?code=false`

(note this enhancement would also match `wsk action get` behavior.)

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

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

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

評価

この issue はまだ評価されていません。

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

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