A simple utility for the convenient clone.
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.
deno install --allow-env --allow-read --allow-write --allow-run --unstable --force https://deno.land/x/clone@v1.0.6/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.
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.
MIT © Evgenii Karagodin