1.2.0 • Published 11 months ago

@russ-b/gitlab-downloader v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

GitLab Downloader

GitLab Downloader is a CLI tool to download GitLab repositories with filtering options. It allows you to specify which folders to include or exclude during the download process.

Installation

To install the GitLab Downloader, you can use npm:

npm install @russ-b/gitlab-downloader

Usage

You can use the GitLab Downloader by running the following command:

gitlab-downloader --token <your_gitlab_token> --hostUrl <gitlab_host_url> --projectId <project_id> [options]

Options

  • --token, -t (required): GitLab Personal Access Token (PAT). Default: process.env.REPOSITORY_TOKEN
  • --hostUrl, -u (required): GitLab host URL.
  • --projectId, -p (required): GitLab Numeric Project ID.
  • --branch, -b: Branch name. Default: master.
  • --includeOnly, -i: Comma-separated list of folders to include.
  • --dir, -d: Directory to download files to. Default: current directory.

Example

gitlab-downloader --token your_token --hostUrl https://gitlab.com --projectId 123456 --branch develop --includeOnly src,docs --dir ./downloads
1.2.0

11 months ago

1.1.0

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago