0.3.3 • Published 6 months ago

@begit/cli v0.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 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

10 months ago

0.3.0

7 months ago

0.2.1

7 months ago

0.1.2

10 months ago

0.2.0

8 months ago

0.1.1

10 months ago

0.3.2

6 months ago

0.1.4

10 months ago

0.3.1

7 months ago

0.1.3

10 months ago

0.3.3

6 months ago

0.0.14

1 year ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year 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

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago