devcontainers / devcontainers/cli
devcontainer exec attempts confuses args depending on order
- Lingua principale
- TypeScript
- Stelle
- 3k
- Fork
- 457
- Merge medio
- 13h 17m
- PR unite (30g)
- 6
Descrizione
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`.

Am I correct in assuming that `devcontainer --workspace-folder . exec` should be a valid way to invoke exec?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reproducing both command forms shown in the issue with the devcontainer CLI, then inspect how global options and the exec command are parsed. Confirm whether both argument orders are intended to work and make the behavior consistent or clearly documented, with coverage for the two invocations.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100