Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

0.1.27

Latest

Choose a tag to compare

@github-actions github-actions released this 09 May 15:26
· 121 commits to main since this release
8c8af3e

Yay! 🎉

Files in this release

  • fetch-github-folder.tgz contains package archive which was published to NPM
  • fetch-github-folder.js contains a light js CLI script with inlined dependencies that allows you to avoid using any package managers
  • template.env has 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 superset

The 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_js

Install 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