To Clone Or Not To Clone
Interactive CLI for cloning your Github repos
About This Project
To-Clone-Or-Not-To-Clone is an interactive command-line interface written in Python for selectively cloning repositories from a GitHub account. The user provides a GitHub personal access token and a local destination path in a .env file, then runs the CLI. The tool iterates through the account's repositories in alphabetical order and prompts the user to enter 'y' to clone a repository or 'n' to skip it.
The project addresses a specific workflow: when setting up a new computer, a developer with many repositories may want only a subset of them locally, and manually reviewing a long list is tedious. Configuration is handled through environment variables loaded from a .env file, keeping the access token out of the source code. The project relies on Python and the GitHub API for repository listing and cloning.
This tool is best suited to developers with large GitHub repository collections who are setting up a new machine or workspace and want a quick, keyboard-driven way to pick repositories. It will appeal to users who prefer terminal workflows over graphical clients.