Categorygithub.com/AdamHepner/batch-clone
modulepackage
0.0.2
Repository: https://github.com/adamhepner/batch-clone.git
Documentation: pkg.go.dev

# README

Build Status

batch-clone

A small utility to clone all repos of given GitHub user

Prerequisites

Generate Personal Access Token

How to use it

  • Download and extract the binary from the releases page
  • ./batch-clone --username <your-github-username> --access-token <your-personal-access-token>

Please note - if you've never cloned anything from GitHub, you'll be asked to confirm the server fingerprint first. If you don't care (be warned), you can first follow this advice of more clever people than me on how to trust github's key in the first place.

# Structs

RepoEntry is the format used by GH to report all basic information about a repo I only need one position here, so I'm sticking to basics.