gitport
v1.0.3
Published
Small CLI to import files from github to your local machine without creating a clone of the repo
Downloads
8
Maintainers
Readme
GitPort
A small CLI to import files, without cloning, from a GitHub repository
Installation
npm i gitport -g
Will install the CLI globally on you machine.
Motivation
The main reason why I created this CLI is because I wanted to be able to import all my personal utility files into project without copy pasting them. Cloning the repo with the GitHub CLI does not work when the folder is not empty and I did not find any solution for my problem, so I made one myself.
Usage
gitport [--help, --reset]
-
npx gitport [--help, --reset]
- You will be asked for a GitHub Token (Create here)
- Enter a destination for the files (Default is the current working directory
.
) - Enter the repository where the files should be imported from
Options
| Name | Alias | Usage | Description |
| :--------- | :---- | :-------------------------------------------- | :------------|
| help
| h
| gitport --help | Prints a help screen |
| reset
| r
| gitport --reset | Resets the GitHub token, use when there are any problems |