RepoSort is a command-line tool written in Go that organizes repositories into language-specific directories. It is designed to help developers maintain a clean workspace by automatically sorting repositories based on the programming language they are primarily written in.
CleanShot.2024-03-09.at.07.04.49.mp4
Before installing RepoSort, ensure you have Go installed on your system. You can then install RepoSort by cloning the repository and building the binary.
git clone https://github.com/marcusziade/reposort.git
cd reposort/cmd/reposort
go build
This will generate a reposort
executable in your current directory.
To use RepoSort, simply provide the directory path containing the repositories as an argument to the executable:
./reposort /path/to/repositories
RepoSort will then process each repository in the provided directory and sort them into language-specific subdirectories.
RepoSort requires the following:
- Go version 1.x or higher
- Access to the directory containing the repositories
Contributions to RepoSort are welcome. If you have suggestions for improvements or bug fixes, please open an issue or submit a pull request.
RepoSort is released under the MIT License.
If you encounter any problems or have any questions about using RepoSort, please open an issue on the GitHub repository, and I will be happy to assist you.