Skip to content

ekaragodin/clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clone

Build Status License

A simple utility for the convenient clone.

Usage

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

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.

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

About

A simple utility for the convenient clone

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published