Skip to content

CLI-command for downloading a list of repositories

Notifications You must be signed in to change notification settings

INazca/git-auto-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

git-auto-download

oclif Version Downloads/week License

Installation

To install a command from git-auto-download (e.g. the download command) you first need to get the repository to your computer. There you have to navigate to it using a command line. When in the git-auto-download folder, change the directory to the folder named like the command you want to install (in this case "download").

Now run the command:
$ npm link (npm needs to be installed)

npm will link the command to your environment variables. You can now use the command simply by typing its name into the console:
$ download

Commands

download

Description

With the download command you can automatically download a given csv-list of repositories to a specified folder, by default this folder is git-repositories. You can also prepare the repositories to download for grading. This will create a review branch and a template file to every given repository.

Usage

download <input.csv>

Download a list of given git-repositories into the folder git-repositories (either existant or will be created, name is editable in git-auto-download/download/src/settings.js). The csv-file must be formatted like that:

format:

path
[repository-link]
[repository-link]
[...]

example:

path
https://github.com/Username/repository1
https://github.com/Username/repository2
https://github.com/Username/repository3

download <input.csv> <template-file>

Download a list of given git-repositories into the folder git-repositories and prepare them for grading, meaning:

  • a new branch review will be created in every repository
  • a new file, by default called revision.md (editable in git-auto-download/download/src/settings.js), will be created
  • the file is a copy of the template file specified as second argument of the command

About

CLI-command for downloading a list of repositories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published