Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ekaragodin/clone
- Owner: ekaragodin
- License: mit
- Created: 2019-07-10T14:32:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-24T16:28:57.000Z (over 3 years ago)
- Last Synced: 2024-10-17T17:44:50.899Z (about 2 months ago)
- Topics: cli, deno, utility
- Language: TypeScript
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-deno - clone - 一个方便克隆的简单实用程序。 (Uncategorized / Uncategorized)
- awesome-deno-cn - @ekaragodin/clone
- awesome-deno - clone - A simple utility for the convenient clone.![GitHub stars](https://img.shields.io/github/stars/ekaragodin/clone?style=plastic) (Tools / Online Playgrounds)
- awesome-deno - clone - A simple utility for the convenient clone. (Tools / XML)
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)