English | 中文
del-repos is a command line tool used to delete GitHub or Gitee repositories in batches.
- supports
GitHubandGiteeplatforms - batch delete selected warehouses
- Select the warehouse to delete through the interactive command line interface
Node.jshas been installed on your computer. You can download and install it from Node.js official website.
- Open the terminal
- Enter the following command to install
del-repos:
npm install del-repos -g
# or
pnpm install del-repos -g- Options
-v,--versiondisplays the version number-h,--helpdisplays help information-t,o/aget repositories type, default valuea(o: owner,a: all)- How to specify the acquisition repositories type:
# get all personal repositories del-repos -t o # Get all repositories (including collaborators and organization member repositories) del-repos # or del-repos -t a
- Select the platform (
GitHuborGitee). - Enter the access token (
Token) of the corresponding platform. - For
GitHuborGitee, the tool opens theTokenof the corresponding platform to generate a page. - The tool will get a list of your repositories and let you choose which repositories to delete.
- After the warehouse name 🔗 The symbol is a shortcut link, click to directly access the corresponding warehouse.
- After confirming the selection, the tool will delete the selected warehouse in batch.
- Confirm the warehouse to be deleted before deletion, because the deleted warehouse cannot be restored.
- Before using
Token, make sure that yourTokenhas sufficient permissions to delete the repository. - If you encounter any problems or have any suggestions, please feel free to submit
Issue.
- We welcome all contributions and suggestions. If you want to contribute to
del- repos, you can:
- Clone repository:
git clone https://github.com/yaolifeng0629/del-repos.git
cd del-repos- Installation dependencies:
npm install
# or
pnpm install- Develop and test:
npm run dev
# or
pnpm dev- Welcome to submit questions (
Issues) and merge requests (Issues)! - Thanks to all those who have contributed to
del- repos! 🎉
If you think this tool is helpful to you, please use your hand to point a Star to my GitHub warehouse!
Your support is the driving force for me to move forward!
