A tool for cloning resources and their subresources, and operating on them (both the clones and the origins) in a manner similar to git.
$ npm install -g clone.io
$ clone.io listgitgithub
$ clone.io githubdomain: github.commatchers:user:repo:
This will create a git repository in a directory called substack, download and commit his metadata, and clone all of his repositories into it.
This will clone express, add
.git/info/exclude, create an issues repository and use the GitHub
API to pull down the issues and commit them as YAML files, and clone
the wiki into the wiki directory.
Note that when cloning github user account (a big resource), it doesn't pull in as much of each repository (a smaller subresource) as cloning an individual repository does. To get the rest of a repository, after grabbing by cloning the user's account:
$ clone.io$ cd substack/traverse$ ls -d issuesls: issues: No such file or directory$ clone.io pull$ ls -d issuesissues
You guessed it! It will pull down the default amount of data for the level of resource plus whatever's been pulled down so far.
$ clone pull
Not yet implemented. Needs at least one child service implemented first.