Command Line Interface To Clone A Lot Of Repositories One Time With Json File Configuration You Can Save This File For All Developers That has Same Repos and If Anyone wants to Clone Same Repos (Just Run the Script and Will Download Everything For You)
The CLI Built with Javascript and It is Support Random Github Repositories and User Repositories (Private, Public) Via Access Token and Execute git Clone Command On All Repositories
Each Time I Get New Laptop, Format My PC i should Always Search About Each Repository whatever if they From My Github Account or Open Source Projects, SDK's i Use i should Always Clone Everything Manually and this Process Take Like 3 Hours Waiting Some Repos To Finish Cloning and 3 Hours Searching About them To Remember I want to Clone All of this Repositories so I Built this Script to execute Command and it will clone everything to me in my Working Directory
1. [-c] Clone All Repos From Json Configuration File
2. [-k] Check And Validate If the Configuration File Exists In Working Directory or Not
3. [-g] Generate Empty Configutation File To Add Your Repos To it
4. [-h] Help To Print All Available Commands
npm i -g cloner-js
- Go To Your Projects Directory
- Open Terminal Their
- Download The CLI From Installation Step
- Execute This Command To Generate Empty Config File
cloner-js -g
- Execute This Command To Clone All Repositories
cloner-js -c
This File Contains Your Account Information
- If you want to Clone your Account Public Repositories Add Your Username inside User Field
- If you want to Clone All Repos From Your Account (Public, Private) Add Username and Access Token
- If you want to Clone Repos From Random Users, Orgs Add Them in Repos List Like This (Yazan98/cloner-js)