devcontainers / devcontainers/cli
Add the ability to start and exec into a devcontainer (docker run -it)
未关闭
feature-request
- 主要语言
- TypeScript
- 星标
- 3k
- 派生
- 457
- 平均合并
- 13 小时 17 分钟
- 30 天内合并 PR
- 6
描述
I would like to be able start and exec into my devcontainer with a single command (like you can with docker using `docker run -it zsh` for example).
So instead of:
```sh
devcontainer up
```
and
```sh
devcontainer exec --workspace-folder . zsh
```
There would be some alternative flag/command/whatever. It could maybe look something like:
```sh
devcontainer up -it --workspace-folder . zsh
```
As a side note, the `--workspace-folder` flag is a little unwieldy. It would be nice to at least have a shorthand.
贡献指南
调研方向
首先定位 `up` 和 `exec` 命令的 CLI 入口点,并了解它们如何处理工作区文件夹、命令参数和交互式会话。当一次有文档说明的单次调用能够启动 dev container 并连接到交互式命令,同时提议的工作区文件夹简写范围已经明确确定时,这项工作就完成了。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100