Main entry point.
()
| 61 | |
| 62 | |
| 63 | def main(): |
| 64 | """Main entry point.""" |
| 65 | stars = get_github_stars() |
| 66 | print(f"Current GitHub stars: {stars} ({format_stars(stars)})") |
| 67 | |
| 68 | # Update main README |
| 69 | readme_path = Path("README.md") |
| 70 | if readme_path.exists(): |
| 71 | update_readme_stars_badge(readme_path, stars) |
| 72 | else: |
| 73 | print("README.md not found") |
| 74 | |
| 75 | # Update docs README if exists |
| 76 | docs_readme = Path("docs/README.md") |
| 77 | if docs_readme.exists(): |
| 78 | update_readme_stars_badge(docs_readme, stars) |
| 79 | |
| 80 | |
| 81 | if __name__ == "__main__": |
no test coverage detected