Skip to content

dev-container-features-test-lib docs? #113

Answered by AlexanderLanin
snebjorn asked this question in Q&A
Discussion options

You must be logged in to vote

I've just encountered the same problem and it took me a while to even find the script, so let's ease that first:
https://github.com/devcontainers/cli/blob/1910ca41015c627b884ddd69ebc52d1e8cdd8cf0/src/spec-node/featuresCLI/utils.ts#L59

An attempt to reverse engineer the commands:

  • check <LABEL> <cmd>
    executes cmd and prints success/failed depending on exit code of cmd.
    Note: Do not use quotes for cmd as there is no such executable as e.g. "python3 --version".
    Correct: check "python is available" python3 --version
  • checkMultiple <LABEL> <MINIMUMPASSED> <cmd1> [cmd2] [cmd3] ...
    runs all passend commands and prints success/failed depending on passed commands (exit code 0) vs MINIMUMPASSED
  • repo…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@joshspicer
Comment options

@joshspicer
Comment options

Answer selected by joshspicer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants