Coverage for src / rhiza_tools / commands / __init__.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.13.4, created at 2026-02-23 01:10 +0000

1"""Commands for Rhiza Tools. 

2 

3This package contains all command implementations for the rhiza-tools CLI. 

4Each command is implemented as a separate module with its own logic. 

5 

6Available commands: 

7 - bump_command: Version bumping with semantic versioning support 

8 - update_readme_command: README synchronization with make help output 

9 - generate_coverage_badge_command: Coverage badge generation 

10 - version_matrix_command: Python version matrix generation from pyproject.toml 

11 - analyze_benchmarks_command: Analyze and visualize pytest-benchmark results 

12 - release_command: Create and push release tags 

13 - rollback_command: Rollback a release and/or version bump 

14 

15Example: 

16 Import and use commands:: 

17 

18 from rhiza_tools.commands import bump_command, update_readme_command, version_matrix_command 

19 

20 bump_command("patch") 

21 update_readme_command() 

22 version_matrix_command() 

23""" 

24 

25from .analyze_benchmarks import analyze_benchmarks_command 

26from .bump import bump_command 

27from .release import release_command 

28from .rollback import rollback_command 

29from .update_readme import update_readme_command 

30from .version_matrix import version_matrix_command 

31 

32__all__ = [ 

33 "analyze_benchmarks_command", 

34 "bump_command", 

35 "release_command", 

36 "rollback_command", 

37 "update_readme_command", 

38 "version_matrix_command", 

39]