adobe / adobe/aio-cli-plugin-runtime

omit code on action get

Abierto
#79 1 comentario 0 reacciones 1 asignado Reclamado por @florind-ens Ver en GitHub
enhancement help wanted
Lenguaje dominante
JavaScript
Estrellas
21
Forks
33
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.