Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ekaragodin/clone

A simple utility for the convenient clone
https://github.com/ekaragodin/clone

cli deno utility

Last synced: about 1 month ago
JSON representation

A simple utility for the convenient clone

Awesome Lists containing this project

README

        

# clone

[![Build Status](https://travis-ci.com/ekaragodin/clone.svg?branch=master)](https://travis-ci.com/ekaragodin/clone)
[![License](https://img.shields.io/github/license/ekaragodin/clone.svg)](https://github.com/ekaragodin/clone)

A simple utility for the convenient clone.

## Usage

```bash
clone https://github.com/denoland/deno.git
```

This command creates the directory `~/src/github.com/denoland/deno`. Then it clones the repository into this directory and opens it in your editor.

## Install

```bash
deno install --allow-env --allow-read --allow-write --allow-run --unstable --force https://deno.land/x/[email protected]/clone.ts
```

> By default scripts are installed at \$HOME/.deno/bin and that directory must be added to the path manually. See more in Deno [docs](https://deno.land/std/manual.md#installing-executable-scripts).

## Configure

We use environment variables for configuration.

- `$EDITOR` - a path to an editor to open cloned repository.
- `$SRC_DIR` - a path to a root directory for sources.

## License

MIT © [Evgenii Karagodin](https://ekaragodin.com)