Package Exports
- github-pewpew
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (github-pewpew) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
🔫 github-pewpew
Pew pew those unnecessary GitHub repos!
Clean up your unused repositories within seconds from your CLI.
Have you ever had too much fun with the GitHub API and ended up creating too many dummy repos? Me too 😅!
I made this little CLI tool over the weekend to clean up repositories quickly. I'm planning to add some flags and regexp to delete in bulk in the future. Let me know if that sounds interesting to you.
Installation and usage
Install it via npm install github-pewpew and use it running the command ghpew in your terminal.
Remember you will need a PAT (Personal Access Token) to authenticate with your GitHub account. You can generate a PAT scoped to 'delete_repo' on https://github.com/settings/tokens.
Roadmap
- Improve auth so you don't need to grab the PAT every time you run the tool
- Advanced flags with: regex, --force
- Add testing
Questions? Ideas? Bugs?
If you run into any issues or you'd like to share your thoughts, feel free to open an issue in this repository or hit me up on Twitter.
Development
To set up your environment to develop this tool, run npm install. You can run the tool by running node index in your terminal. Most of the functionality is in the src/utils.js file.
You can also rename .example.env to .env and add your PAT to it to speed up debugging.
License
The tool is available as open source under the terms of the MIT License.