0.3.3 • Published 10 months ago

@begit/cli v0.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@begit/cli

A small CLI wrapper for @begit/core

Installation

Run npm i -g @begit/cli to install. Invoke with begit

Usage

For a comprehensive list of features, use the help command as below:

begit --help

Which will print something like:

begit

ARGUMENTS:
  <URL>         - The URL to clone
  [Destination] - Folder to clone into [optional]

OPTIONS:
  --subdir, -s <str> - Subdirectory of repository to clone [optional]
  --token, -t <str>  - GitHub API Token [optional]

FLAGS:
  --no-cache - Disables caching the downloaded tarball for the future
  --help, -h - show help

Cloning a repositoy

To clone a repository to the current working directory, simply:

begit Tommypop2/begit

URLs are also accepted:

begit https://github.com/Tommypop2/begit

You can also specify the desired branch via a #:

begit Tommypop2/begit#main

Cloning a subdirectory within a repo

Use any of the above options in conjunction with the --subdir flag.

begit Tommypop2/begit --subdir packages

Or, shortened to -s

begit Tommypop2/begit -s packages
0.1.0

1 year ago

0.3.0

11 months ago

0.2.1

11 months ago

0.1.2

1 year ago

0.2.0

12 months ago

0.1.1

1 year ago

0.3.2

10 months ago

0.1.4

1 year ago

0.3.1

11 months ago

0.1.3

1 year ago

0.3.3

10 months ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago