devcontainers / devcontainers/cli

devcontainer exec attempts confuses args depending on order

オープン
#657 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
TypeScript
スター
3k
フォーク
457
平均マージ
13時間 17分
マージ済み PR(30日)
6

説明

When running `devcontainer exec --workspace-folder . ls` everything works as expected.
When running `devcontainer --workspace-folder . exec ls` the devcontainer CLI attempts to run `exec` in the container. It confuses the args and interprets `exec` as `cmd`.

![image](https://github.com/devcontainers/cli/assets/3210701/8b655e87-52a0-4bf2-b6ac-d802835b1216)

Am I correct in assuming that `devcontainer --workspace-folder . exec` should be a valid way to invoke exec?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。