I did a thing, ever wish that there was a requirements.txt file for non-...

@mistersql

I did a thing, ever wish that there was a requirements.txt file for non- things?

I made a tool to check if things are available and at a suitable version number. It is like a package manager without installation. If all the things are available and at the right version, it passes. Otherwise it stops the build.

pip and pipx will make sure your python tools exist, but for npm installed, or ad hoc installed tools, there wasn't an audit tool.

pypi.org/project/cli-tool-audi

Self-replies

I suppose you could have just waited until a build step blew up on missing a command, but the do-nothing alternative wouldn't check for a minimum version.

Anyhow, it is basically usable as is. Someday I want to figure out how to get it to be pipx installed, yet still check for commands in other VENVs. And I need to do more stress testing on the random ways that cli tools do and don't report their version numbers.