adobe / adobe/aio-cli-plugin-runtime

omit code on action get

未关闭
#79 1 条评论 0 个 reaction 已指派 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 摘要。