adobe / adobe/aio-cli-plugin-runtime

omit code on action get

Đang mở
#79 1 bình luận 0 reaction 1 người được giao Được @florind-ens nhận Xem trên GitHub
enhancement help wanted
Ngôn ngữ chính
JavaScript
Star
21
Fork
33
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.