gitclonedir

command module
v0.0.0-...-59ff2cf Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 7 Imported by: 0

README

Git Clone Directory

Simple CLI utility to download individual directories from GitHub repositories. Written in Go and leveraging the GitHub API and Google's go-github library.

Requirements

  • Go 1.25 or higher

Installation

To install the tool, run:

go install github.com/ludanortmun/gitclonedir@latest

Usage

To download a directory from a GitHub repository, use the following command:

gitclonedir <github-url> [destination-path]

where:

  • <github-url> is the URL of the GitHub repository and the path to the directory you want to download.
  • [destination-path] is an optional argument specifying where to save the downloaded directory. If not provided, it defaults to the current directory.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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