gitdump

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2020 License: MIT Imports: 1 Imported by: 0

README

Gitdump

Tool for downloading Github repositories.

Available commands
gitdump users ls <USER> (no auth)
gitdump users get <USER> <REPO> (no auth)
gitdump users dump <USER> (no auth)
gitdump owners ls (auth)
gitdump owners get <OWNER> <REPO> (auth)
gitdump owners dump <OWNER> (auth)
gitdump orgs ls (auth)
gitdump orgs ls <ORG> (auth)
gitdump orgs get <ORG> <REPO> (auth)
gitdump orgs dump <ORG> (auth)
Commands
ls list the organizations or repositories
get download a single repository
dump download all the repositories
Arguments
USER public username
OWNER account associated with the auth token
ORG name of one organization that has been granted
REPO repository name
Scopes
users any public GitHub repository
owners GitHub account associated with the auth token
orgs granted organization(s) commands
Example

To download one repository in the https://github.com/GoogleContainerTools account, you can use the following set of commands:

  • gitdump users ls GoogleContainerTools
  • gitdump users get GoogleContainerTools skaffold
Authentication

At the moment, to get authenticated, go to your GitHub account, Settings > Developer settings > Personal access tokens.

In there, click on Generate new token. Check the repo scope (Full control of private repositories).

Copy the token and set it as an environment variable in your system called GIT_TOKEN.

In future releases there will be some other options available.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL