degitlab
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

English | 简体中文

degitlab

🫥 Helps you easily clone project files for self-managed GitLab.

Configuration

Since self-managed git usually come with authentication, so we need to add personal access token.
You don't need to set it if you have already logged in locally.

# ~/.gitconfig

[core]
  degitlabPAT = <personal access token>
  degitlabHost = <host>

Usage

// Use the project name to clone the project and automatically filter the .git directory.
degitlab -n degitlab

// Specify the path to clone, default is current directory.
degitlab -n degitlab -o ./dist

// Filter the directory.
degitlab -n degitlab -o ./dist -f /src/index.ts

// Filter the multiple directories.
degitlab -n degitlab -o ./dist -f /src/index.ts -f /src/index2.ts

// Help.
degitlab -h

Sponsors

License

MIT License © 2022 Dohooo

Readme

Keywords

none

Package Sidebar

Install

npm i degitlab

Weekly Downloads

6

Version

0.0.6

License

MIT

Unpacked Size

12 kB

Total Files

6

Last publish

Collaborators

  • caspian.zhao