devcontainers / devcontainers/cli
[question] How can I pass external args to tests?
Open
feature-request
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 457
- Avg merge
- 13h 17m
- Merged PRs (30d)
- 6
Description
My feature depends on a secret. For that reason, I can not put it in plain text. Is there currently a way to pass an external args? In GHA, would be easy to set using `devcontainer features test -f secret-feature --args ${{ secrets.MY_TOKEN }}`
Contributor guide
Research direction
Start at the CLI entry point for `devcontainer features test` and trace how feature test arguments are currently parsed. Check the existing feature-test documentation and tests, then define what external or secret arguments should accept and how completion can be verified without exposing the secret.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100