# gget-cli

> CLI tools to download template defines in GitHub

Latest version **1.0.2** (published 2019-07-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install gget-cli
pnpm add gget-cli
yarn add gget-cli
bun add gget-cli
```

Provides the commands `gget`, `ggignore`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-07-15 |
| First published | 2019-07-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 13.2 KB |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mahasak Pijittum |
| Maintainers | mahasak |
| Keywords | Git, Get, gget |

## Links

- npm: https://www.npmjs.com/package/gget-cli
- Repository: https://github.com/mahasak/gget-cli
- Issues: https://github.com/mahasak/gget-cli/issues
- npm.io page: https://npm.io/package/gget-cli

## Dependencies (10)

- [ora](https://npm.io/package/ora.md) ^3.4.0
- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [touch](https://npm.io/package/touch.md) ^3.1.0
- [figlet](https://npm.io/package/figlet.md) ^1.2.3
- [is-url](https://npm.io/package/is-url.md) ^1.2.4
- [fs-extra](https://npm.io/package/fs-extra.md) ^8.1.0
- [commander](https://npm.io/package/commander.md) ^2.20.0
- [simple-git](https://npm.io/package/simple-git.md) ^1.121.0
- [url-exists](https://npm.io/package/url-exists.md) ^1.0.3
- [github-content](https://npm.io/package/github-content.md) ^1.0.1

## Recent versions

- 1.0.2 (latest) — 2019-07-15
- 1.0.1 — 2019-07-15
- 1.0.0 — 2019-07-15

## README

# GGET-CLI [![npm version](https://badge.fury.io/js/gget-cli.svg)](http://badge.fury.io/js/gget-cli) 

A set of CLI tools to reduce bolierplate task

## Install

```bash
npm install gget-cli -g
```

## GGET Usage

```bash
Usage: gget [options] <url>

Options:
  -d, --dest <dest>  destination path for clone git
  -D, --debug        display error
  -h, --help         output usage information
```
Example: apply boilerplate from git url to current directory

```
gget https://github.com/<username>/<repository>
```

Example: apply boilerplate from git url to a directory module_1

```
gget https://github.com/<username>/<repository> -d module_1
```

Example: apply boilerplate from git url shorthand to current directory

```
gget <username>/<repository>
```

Example: apply boilerplate from git url shorthand to a directory module_1

```
gget <username>/<repository> -d module_1
```

## GGIGNORE Usage
```
Usage: ggignore [options] <template>

Options:
  -f, --file <file>  output filename default to .gitignore
  -o, --override     override output file
  -D, --debug        display error
  -h, --help         output usage information
```

Example: apply node .gitignore template to .gitignore file and overwrite

```
ggignore node -f .gitignore -o
```

Example: apply scala .gitignore template to default .gitignore file without overwrite

```
ggignore scala
```

See templates here: https://github.com/github/gitignore

---
_Source: https://npm.io/package/gget-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
