Proposal: Add `devcontainers init` command similar to `devcontainerize`
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker, typescript
- Lĩnh vực
- cli, developer-experience
Hướng nghiên cứu
Bắt đầu bằng việc xem xét cấu trúc CLI hiện có và so sánh với công cụ devcontainerize cùng repository devcontainers/images. Công việc được xem là hoàn tất khi một lệnh chính thức devcontainers init phát hiện loại dự án, lấy Dockerfile và devcontainer.json phù hợp, tạo .devcontainer và tùy chọn cập nhật .gitignore trong một Git repository.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hello devcontainers team,
I've recently created a tool called devcontainerize (https://www.npmjs.com/package/devcontainerize, https://github.com/mathdroid/devcontainerize) that automatically detects a project's type and sets up the appropriate devcontainer configuration.
The tool:
- Detects the project type based on files in the current directory.
- Fetches appropriate Dockerfile and devcontainer.json from the devcontainers/images repository.
- Creates a .devcontainer directory with these files.
- Optionally adds .devcontainer to .gitignore if in a Git repository.
I believe a similar functionality could be valuable as part of the official devcontainers CLI, potentially as a devcontainers init command.
I'm keen to contribute this functionality to the official CLI if the team is interested. This could help streamline the process of setting up devcontainers for various project types and improve the overall developer experience.
Would you be open to discussing this further? I'd be happy to provide more details about the implementation or discuss how we could adapt it to fit within the existing CLI structure.
- Ngôn ngữ chính
- TypeScript
- Star
- 3k
- Fork
- 461
- Merge trung bình
- 18 phút
- Pull request đã merge (30 ngày)
- 5
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của devcontainers/cli
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
devcontainers/cli#1203 ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 68/100
devcontainers/cli#1178 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
devcontainers/cli#1308 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 78/100
devcontainers/cli#1307 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
devcontainers/cli#1305 ·
Tất cả issue của devcontainers/cli
Issue tương tự
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100