A simple utility for the convenient clone.
deno install clone https://firstname.lastname@example.org/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.
This command creates the directory
~/src directory. Then it clones the repository at this directory and opens the cloned repository in your editor.
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