devcontainers / devcontainers/cli

allow exec command after --workspace-folder flag

Đang mở
#1,050 6 bình luận 1 reaction 2 người được giao Được @v-Kaniska244 nhận Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
3k
Fork
457
Merge trung bình
13 giờ 17 phút
Pull request đã merge (30 ngày)
6

Mô tả

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"`.

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.