devcontainers / devcontainers/cli
allow exec command after --workspace-folder flag
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 3k
- Forks
- 457
- Merge medio
- 13 h 17 min
- PR fusionados (30 d)
- 6
Descripción
It seems that the 'exec' command is only allowed as the first parameter.
```
devcontainer --workspace-folder . exec ls
OCI runtime exec failed: exec failed: unable to start container process: exec: "exec": executable file not found in $PATH: unknown
```
Like `up` etc., it expects options followed by `exec` to be allowed.
With this change, one can create an alias as `alias devc="devcontainer --workspace-folder PATH"`.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.