# global-git-clone

> global-git-clone is a command line tool that allows you to clone git repositories to your projects directory following a specific naming convention.

Latest version **0.1.1-beta.21** (published 2022-04-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install global-git-clone
pnpm add global-git-clone
yarn add global-git-clone
bun add global-git-clone
```

Provides the command `global-git-clone`.

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1-beta.21 |
| Published | 2022-04-27 |
| First published | 2022-04-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=12.0.0 |
| Dependencies | 8 |
| Unpacked size | 43.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nathan Tamez |
| Maintainers | natonathan |
| Keywords | oclif |

## Links

- npm: https://www.npmjs.com/package/global-git-clone
- Repository: https://github.com/NatoNathan/global-git-clone
- Issues: https://github.com/NatoNathan/global-git-clone/issues
- npm.io page: https://npm.io/package/global-git-clone

## Dependencies (8)

- [fs-extra](https://npm.io/package/fs-extra.md) ^10.0.1
- [inquirer](https://npm.io/package/inquirer.md) ^8.2.2
- [@oclif/core](https://npm.io/package/@oclif/core.md) ^1.7
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^5
- [@oclif/plugin-update](https://npm.io/package/@oclif/plugin-update.md) ^3.0.0
- [@oclif/plugin-plugins](https://npm.io/package/@oclif/plugin-plugins.md) ^2.1.0
- [@oclif/plugin-autocomplete](https://npm.io/package/@oclif/plugin-autocomplete.md) ^1.2.0
- [@oclif/plugin-warn-if-update-available](https://npm.io/package/@oclif/plugin-warn-if-update-available.md) ^2.0.4

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.1.1-beta.21 (latest) — 2022-04-27
- 0.1.1-beta.20 — 2022-04-16
- 0.1.1-beta.19 — 2022-04-16
- 0.1.1-beta.18 — 2022-04-16
- 0.1.1-beta.17 — 2022-04-16
- 0.1.1-beta.16 — 2022-04-16
- 0.1.1-beta.15 — 2022-04-16
- 0.1.1-beta.14 — 2022-04-16
- 0.1.1-beta.12 — 2022-04-16
- 0.1.1-beta.11 — 2022-04-16
- 0.1.1-beta.10 — 2022-04-16
- 0.1.1-beta.9 — 2022-04-16
- 0.1.1-beta.8 — 2022-04-16

## README

# global-git-clone

global-git-clone is a command line tool that allows you to clone git repositories to your projects directory following a specific naming convention.

<!-- toc -->
* [global-git-clone](#global-git-clone)
<!-- tocstop -->
## Usage
<!-- usage -->
```sh-session
$ npm install -g global-git-clone
$ global-git-clone COMMAND
running command...
$ global-git-clone (--version)
global-git-clone/0.1.1-beta.21 linux-x64 node-v16.14.2
$ global-git-clone --help [COMMAND]
USAGE
  $ global-git-clone COMMAND
...
```
<!-- usagestop -->
## Commands
<!-- commands -->
* [`global-git-clone autocomplete [SHELL]`](#global-git-clone-autocomplete-shell)
* [`global-git-clone clone <repo>`](#global-git-clone-clone-repo)
* [`global-git-clone config`](#global-git-clone-config)
* [`global-git-clone config init`](#global-git-clone-config-init)
* [`global-git-clone help [COMMAND]`](#global-git-clone-help-command)
* [`global-git-clone template`](#global-git-clone-template)
* [`global-git-clone template add [NAME]`](#global-git-clone-template-add-name)
* [`global-git-clone template list`](#global-git-clone-template-list)
* [`global-git-clone template ls`](#global-git-clone-template-ls)
* [`global-git-clone template remove [NAME]`](#global-git-clone-template-remove-name)
* [`global-git-clone template rm [NAME]`](#global-git-clone-template-rm-name)

## `global-git-clone autocomplete [SHELL]`

display autocomplete installation instructions

```
USAGE
  $ global-git-clone autocomplete [SHELL] [-r]

ARGUMENTS
  SHELL  shell type

FLAGS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

DESCRIPTION
  display autocomplete installation instructions

EXAMPLES
  $ global-git-clone autocomplete

  $ global-git-clone autocomplete bash

  $ global-git-clone autocomplete zsh

  $ global-git-clone autocomplete --refresh-cache
```

_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.2.0/src/commands/autocomplete/index.ts)_

## `global-git-clone clone <repo>`

Clone a repository from a remote url, to your local projects directory.

```
USAGE
  $ global-git-clone clone <repo>
  $ global-git-clone clone <repo> --template <template>

FLAGS
  -c, --config=<value>                    custom config file
  -d, --dry-run                           dry run
  -l, --loglevel=(debug|info|warn|error)  [default: info] log level
  -t, --template=<value>                  [default: default] template name or string
  -v, --verbose                           verbose output

DESCRIPTION
  Clone a repository from a remote url, to your local projects directory.

EXAMPLES
  $ global-git-clone clone git@gtihub.com:natonathan/global-git-clone.git

  $ global-git-clone clone https://github.com/natonathan/global-git-clone.git --template sdk

  $ global-git-clone clone git@gtihub.com:natonathan/global-git-clone.git --template "~/git/{provider}/{owner}/{repo}"
```

_See code: [dist/commands/clone.ts](https://github.com/NatoNathan/global-git-clone/blob/v0.1.1-beta.21/dist/commands/clone.ts)_

## `global-git-clone config`

Prints the current config file

```
USAGE
  $ global-git-clone config [-l debug|info|warn|error] [-v] [-c <value>] [-d]

FLAGS
  -c, --config=<value>                    custom config file
  -d, --dry-run                           dry run
  -l, --loglevel=(debug|info|warn|error)  [default: info] log level
  -v, --verbose                           verbose output

DESCRIPTION
  Prints the current config file

EXAMPLES
  $ global-git-clone config
```

_See code: [dist/commands/config/index.ts](https://github.com/NatoNathan/global-git-clone/blob/v0.1.1-beta.21/dist/commands/config/index.ts)_

## `global-git-clone config init`

Initialize a config file

```
USAGE
  $ global-git-clone config init [-l debug|info|warn|error] [-v] [-c <value>] [-d]

FLAGS
  -c, --config=<value>                    custom config file
  -d, --dry-run                           dry run
  -l, --loglevel=(debug|info|warn|error)  [default: info] log level
  -v, --verbose                           verbose output

DESCRIPTION
  Initialize a config file

EXAMPLES
  $ global-git-clone config init
```

## `global-git-clone help [COMMAND]`

Display help for global-git-clone.

```
USAGE
  $ global-git-clone help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for global-git-clone.
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.12/src/commands/help.ts)_

## `global-git-clone template`

List all available templates

```
USAGE
  $ global-git-clone template [-l debug|info|warn|error] [-v] [-c <value>] [-d] [--columns <value> | -x]
    [--sort <value>] [--filter <value>] [--output csv|json|yaml |  | [--csv | --no-truncate]] [--no-header | ]

FLAGS
  -c, --config=<value>                    custom config file
  -d, --dry-run                           dry run
  -l, --loglevel=(debug|info|warn|error)  [default: info] log level
  -v, --verbose                           verbose output
  -x, --extended                          show extra columns
  --columns=<value>                       only show provided columns (comma-separated)
  --csv                                   output is csv format [alias: --output=csv]
  --filter=<value>                        filter property by partial string matching, ex: name=foo
  --no-header                             hide table header from output
  --no-truncate                           do not truncate output to fit screen
  --output=<option>                       output in a more machine friendly format
                                          <options: csv|json|yaml>
  --sort=<value>                          property to sort by (prepend '-' for descending)

DESCRIPTION
  List all available templates

ALIASES
  $ global-git-clone template ls
  $ global-git-clone template list

EXAMPLES
  $ global-git-clone template
```

_See code: [dist/commands/template/index.ts](https://github.com/NatoNathan/global-git-clone/blob/v0.1.1-beta.21/dist/commands/template/index.ts)_

## `global-git-clone template add [NAME]`

Add a new template

```
USAGE
  $ global-git-clone template add [NAME] [-l debug|info|warn|error] [-v] [-c <value>] [-d] [-f] [-n <value>] [-t
    <value>]

ARGUMENTS
  NAME  template name

FLAGS
  -c, --config=<value>                    custom config file
  -d, --dry-run                           dry run
  -f, --force
  -l, --loglevel=(debug|info|warn|error)  [default: info] log level
  -n, --name=<value>                      template name
  -t, --template=<value>                  template string
  -v, --verbose                           verbose output

DESCRIPTION
  Add a new template

EXAMPLES
  $ global-git-clone template add
```

## `global-git-clone template list`

List all available templates

```
USAGE
  $ global-git-clone template list [-l debug|info|warn|error] [-v] [-c <value>] [-d] [--columns <value> | -x]
    [--sort <value>] [--filter <value>] [--output csv|json|yaml |  | [--csv | --no-truncate]] [--no-header | ]

FLAGS
  -c, --config=<value>                    custom config file
  -d, --dry-run                           dry run
  -l, --loglevel=(debug|info|warn|error)  [default: info] log level
  -v, --verbose                           verbose output
  -x, --extended                          show extra columns
  --columns=<value>                       only show provided columns (comma-separated)
  --csv                                   output is csv format [alias: --output=csv]
  --filter=<value>                        filter property by partial string matching, ex: name=foo
  --no-header                             hide table header from output
  --no-truncate                           do not truncate output to fit screen
  --output=<option>                       output in a more machine friendly format
                                          <options: csv|json|yaml>
  --sort=<value>                          property to sort by (prepend '-' for descending)

DESCRIPTION
  List all available templates

ALIASES
  $ global-git-clone template ls
  $ global-git-clone template list

EXAMPLES
  $ global-git-clone template list
```

## `global-git-clone template ls`

List all available templates

```
USAGE
  $ global-git-clone template ls [-l debug|info|warn|error] [-v] [-c <value>] [-d] [--columns <value> | -x]
    [--sort <value>] [--filter <value>] [--output csv|json|yaml |  | [--csv | --no-truncate]] [--no-header | ]

FLAGS
  -c, --config=<value>                    custom config file
  -d, --dry-run                           dry run
  -l, --loglevel=(debug|info|warn|error)  [default: info] log level
  -v, --verbose                           verbose output
  -x, --extended                          show extra columns
  --columns=<value>                       only show provided columns (comma-separated)
  --csv                                   output is csv format [alias: --output=csv]
  --filter=<value>                        filter property by partial string matching, ex: name=foo
  --no-header                             hide table header from output
  --no-truncate                           do not truncate output to fit screen
  --output=<option>                       output in a more machine friendly format
                                          <options: csv|json|yaml>
  --sort=<value>                          property to sort by (prepend '-' for descending)

DESCRIPTION
  List all available templates

ALIASES
  $ global-git-clone template ls
  $ global-git-clone template list

EXAMPLES
  $ global-git-clone template ls
```

## `global-git-clone template remove [NAME]`

Remove a template

```
USAGE
  $ global-git-clone template remove [NAME] [-l debug|info|warn|error] [-v] [-c <value>] [-d] [-n <value>]

ARGUMENTS
  NAME  template name

FLAGS
  -c, --config=<value>                    custom config file
  -d, --dry-run                           dry run
  -l, --loglevel=(debug|info|warn|error)  [default: info] log level
  -n, --name=<value>                      template name
  -v, --verbose                           verbose output

DESCRIPTION
  Remove a template

ALIASES
  $ global-git-clone template rm

EXAMPLES
  $ global-git-clone template remove
```

## `global-git-clone template rm [NAME]`

Remove a template

```
USAGE
  $ global-git-clone template rm [NAME] [-l debug|info|warn|error] [-v] [-c <value>] [-d] [-n <value>]

ARGUMENTS
  NAME  template name

FLAGS
  -c, --config=<value>                    custom config file
  -d, --dry-run                           dry run
  -l, --loglevel=(debug|info|warn|error)  [default: info] log level
  -n, --name=<value>                      template name
  -v, --verbose                           verbose output

DESCRIPTION
  Remove a template

ALIASES
  $ global-git-clone template rm

EXAMPLES
  $ global-git-clone template rm
```
<!-- commandsstop -->

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