/nibbler

Node utility to clone or update all Github gists.

Primary LanguageJavaScriptMIT LicenseMIT

About

nibbler is a command-line script written in Node.js to clone all gists of a user from Github.

Usage

Calling nibbler without any arguments will show the help menu.

§ ./nibbler.js
Usage: /Users/bchandra/Documents/Codebase/area51/nibbler/nibbler.js <user> <token> <output-path> [<alias>]

A typical invocation will look like the following.

§ ./nibbler.js johndoe 4c407bb6a9743c3eb9ca326a60a692d1a2f8dd7f ./gists

nibbler will use git as the user name and prompt for a password to clone the gist, if required. If you have, however, an already configured SSH configuration block (for instance, specifying the private key to use), you can supply the alias of this block in command-line as follows.

§ ./nibbler.js johndoe 4c407bb6a9743c3eb9ca326a60a692d1a2f8dd7f ./gists github