Skip to content

bozemanpass/test-python-cli-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test-python-cli-tool

A simple Python CLI tool aimed at testing systems that use Python CLI tools

Prerequisites

Development Setup

uv sync
uv run test-python-cli-tool --help

Build

Build a single-file executable using shiv:

./sh/build-package.sh

The output binary will be at build/test-python-cli-tool.

Install

Install directly from the repository:

uv tool install git+https://github.com/bozemanpass/test-python-cli-tool.git

Subcommands

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

Testing

make test

Linting

make lint

About

A simple Python CLI tool aimed at testing systems that use Python CLI tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors