A configurable fizzbuzz CLI tool with customizable divisor-to-word mappings.
pip install .python -m fizzbuzz.cli --start 1 --end 15Output:
1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz
python -m fizzbuzz.cli --start 1 --end 10 --rule 2=Even --rule 3=ThreeAfter pip install ., use the fizzbuzz command directly:
fizzbuzz --start 1 --end 20python -m pytest tests/