ghd_clone_multi: Clone Multiple Repos From A GitHub User

View source: R/03-clone-repos.R

ghd_clone_multiR Documentation

Clone Multiple Repos From A GitHub User

Description

Iterate over multiple repos for a given GitHub user, cloning them to a specified local repository.

Usage

ghd_clone_multi(gh_user, names_vec, protocol, dest_dir)

Arguments

gh_user

Character string. A GitHub user name.

names_vec

Character vector. Repo names for the given gh_user.

protocol

Character string. Either "https" or "ssh".

dest_dir

Character string. A local file path where the zipped repositories will be downloaded to. Must be a full path.

Details

If you're using protocol = "ssh", you need to make sure you've set up your SSH keys.

Value

The named user's named repos cloned to the specified location.


matt-dray/ghdump documentation built on July 7, 2023, 5:51 p.m.