1.0.3 • Published 3 years ago

@lukiffer/clone-org-repos v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

clone-org-repos

A simple utility script to clone all of an organization's repositories and branches therein.

Usage

Personal Access Token

Set your personal access token (used for API access) in the GITHUB_TOKEN environment variable.

Defaults

npx @lukiffer/clone-org-repos --org "<ORG_NAME>"

Custom Output Path

npx @lukiffer/clone-org-repos --org "<ORG_NAME>" --target-path "/path/to/destination"

Custom SSH Key

By default, ~/.ssh/id_rsa will be used. To use a different key, specify the --ssh-key argument.

npx @lukiffer/clone-org-repos --org "<ORG_NAME>" --ssh-key "/path/to/.ssh/key"

Skip Forked Repositories

Skip cloning forked repositories using the --exclude-forks argument.

npx @lukiffer/clone-org-repos --org "<ORG_NAME>" --exclude-forks
1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago