devcontainers / devcontainers/cli

Add `-w, --workdir` flag support to `devcontainer exec`

Đang mở
#703 3 bình luận 2 reaction 0 người được giao Xem trên GitHub
feature-request
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ả

Currently `devcontainer exec` always runs commands from the workspace folder.

I would like to be able to `devcontainer exec` from a subdirectory of my devcontainer project.

The proposal is for `devcontainer exec` to accept and pass the `-w` or `--workdir` flags to `docker compose exec` or `docker exec`.

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.