A simple Python CLI tool aimed at testing systems that use Python CLI tools
uv sync
uv run test-python-cli-tool --helpBuild a single-file executable using shiv:
./sh/build-package.shThe output binary will be at build/test-python-cli-tool.
Install directly from the repository:
uv tool install git+https://github.com/bozemanpass/test-python-cli-tool.git| Command | Description |
|---|---|
echo <message> |
Echo back the provided message |
greet [name] |
Print a greeting (defaults to "World") |
version |
Print the tool version |
env [VAR ...] |
Print environment variables (all, or specific ones by name) |
exit-code <code> |
Exit with the specified exit code |
make testmake lint