Skip to content
A simple utility for the convenient clone
TypeScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig init Jul 10, 2019
.travis.yml Update travis config Jul 12, 2019
LICENSE init Jul 10, 2019
README.md Update version in example Jul 16, 2019
clone.ts Extract dependencies into deps.ts Jul 12, 2019
deps.ts Fix versions for dependencies Jul 16, 2019
mod.ts Extract dependencies into deps.ts Jul 12, 2019
test.ts init Jul 10, 2019

README.md

clone

Build Status License

A simple utility for the convenient clone.

Install

deno install clone https://deno.land/x/clone@v1.0.1/clone.ts --allow-all

By default scripts are installed at $HOME/.deno/bin and that directory must be added to the path manually. See more in Deno docs.

Usage

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

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

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

You can’t perform that action at this time.