dbrennand / rm-content

A Python 3.7 script to remove a specific string from all files and repos (owned by the user).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rm-content

A Python 3.7 script to remove a specific string from all files and repos (owned by the user).

Usage

  • Provide a Github account access token

  • Edit COMMIT_MSG if you so desire.

  • Important STR_TO_REMOVE. REQUIRED: The string to search for removal/replace.

  • Important REPLACE_WITH. The string to replace STR_TO_REMOVE. Can be left blank.

ACCESS_TOKEN = "*"
COMMIT_MSG = "rm-content."
# Fill with the string the user wants to search for and remove/replace.
STR_TO_REMOVE = "*"
# Can be left blank or change to something of users choice.
REPLACE_WITH = ""

Dependencies

Install dependencies using Pipfile:

pipenv install

Or

pip install -r requirements.txt

Authors -- Contributors

License

This project is licensed under the MIT License - see the LICENSE for details.

About

A Python 3.7 script to remove a specific string from all files and repos (owned by the user).

License:MIT License


Languages

Language:Python 100.0%