English | 中文
del-repos
is a command line tool used to delete GitHub or Gitee repositories in batches.
- supports
GitHub
andGitee
platforms - batch delete selected warehouses
- Select the warehouse to delete through the interactive command line interface
Node.js
has 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
,--version
displays the version number-h
,--help
displays help information
- Select the platform (
GitHub
orGitee
). - Enter the access token (
Token
) of the corresponding platform. - For
GitHub
orGitee
, the tool opens theToken
of 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 yourToken
has 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!