Github CLI provides a way to easily remove multiple repos and to output a list of all repositories.
USE AT YOUR OWN RISK
- Ruby
- Github Octokit
- CLI
- tty* ruby gems
- PAT (Personal Access Token)
- Github>Settings>Developer Settings> PAT
- Check all the boxes when creating PAT
- Copy and save your PAT on a notepad to be used for later.
- Github handle/username
- Ex:@rogerprz
- Clone repo into your projects folder
Once repo has been clone cd
into it.
- Run
ruby bin/run.rb token:<PAT> username:<username>
- You will need to replace
<PAT>
&<username>
with your PAT and username.
Note: CLI will not run if token:
and username:
are not present.
Feel free to connect or message me about any questions or additional features.
THIS SOFTWARE/CLI IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.