github-repositories-archiver
v1.0.0
Published
🚜 Archive GitHub Repositories within another repository's subdirs
Downloads
8
Readme
GitHub Repositories Archiver
🚜 Archive GitHub Repositories within another repository's subdirs
github-repositories-archiver
is a command line utility that helps you archive GitHub repositories into a single repository's subdirs.
Get started
The tool requires Node ≥ 8.
npx github-repositories-archiver /tmp/archives
# or
npm install -g github-repositories-archiver
github-repositories-archiver /tmp/archives
cd /tmp/archives
git push
npx
is a tool introduced in[email protected]
that makes it possible to run CLI tools hosted on the npm registry.
Usage
$ github-repositories-archiver --help
Usage: github-repositories-archiver <archive-directory> [options]
Options:
-v, --version output the version number
--dry-run do not delete nor push repositories
--login force login to happen again
--only-private only consider private repositories
--organization <org> the organization to restrict to
--min-months <n> the minimum number of months since a repository was updated. Others will be hidden from the list
-h, --help output usage information
License
GitHub Repositories Archiver is MIT licensed.