This repository was archived by the owner on Oct 11, 2025. It is now read-only.
Yay! 🎉
Files in this release
fetch-github-folder.tgzcontains package archive which was published to NPMfetch-github-folder.jscontains a light js CLI script with inlined dependencies that allows you to avoid using any package managerstemplate.envhas all env variables that are supported by this script
Usage
Invoke immediately
If you already know the supported arguments (e.g. --help to print them all),
you can pipe the script to node directly and pass your arguments after node -:
set -euo pipefail
curl -sL https://github.com/nikelborm/fetch-github-folder/releases/download/0.1.27/fetch-github-folder.js | node - --repoOwner apache --repoName supersetThe script also supports interactive mode (--wizard), where you will be asked to pass arguments sequentially and interactively. Since it requires user input, it can't be piped and needs to be saved to a temporary file:
set -euo pipefail
tmp_js=$(mktemp --suffix .js)
curl -sLo $tmp_js https://github.com/nikelborm/fetch-github-folder/releases/download/0.1.27/fetch-github-folder.js
node $tmp_js --wizard
rm $tmp_jsInstall into the system directly
Running this:
set -euo pipefail
path_to_the_script=/usr/bin/fetch-github-folder
sudo curl -sLo $path_to_the_script https://github.com/nikelborm/fetch-github-folder/releases/download/0.1.27/fetch-github-folder.js
sudo chmod +x $path_to_the_script...will allow you to use the script like this later:
fetch-github-folder --repoOwner apache --repoName superset