#!/bin/bash #requires jq -> http://stedolan.github.io/jq/ organization="kadena-io" repo_list=$(curl https://api.github.com/orgs/$organization/repos?per_page=100 | jq .[].ssh_url | sed -e 's/^"//' -e 's/"$//') for repo in $repo_list do echo "Repo found: $repo" git clone $repo done