Skip to content
A simple utility for the convenient clone
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.travis.yml
LICENSE
README.md
clone.ts
deps.ts
mod.ts
test.ts

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.