${PRINT_USAGE:-:} <<EOF
    init              Initialize the util. Sets up the cache dir, clones control-repo
                        and hiera_data in the current dir. Currently, only one
                        instance is supported. Run this from the dir you want to have
                        all your repos in.
EOF

# Sets up cachedir for us, clones control-repo for use
command_init() {
    debug "$FUNCNAME $@"
    if [[ -d $cache_repo/.git ]] ; then
        echo "$0 appears already init'd. rm ${wd} if you want to start it again"
        return 1
    fi
    pushd $wd || { mkdir -p $wd && pushd $wd ; } || error "Couldn't CD to $wd or create it"
    git clone $controlrepo
    popd
    workspace=$(pwd)

    for dmod in $default_mods ; do
       git clone $git_uri:$git_project/$dmod.git
       gita add $dmod
       gita group add -n DEFAULT $dmod
    done
}
return 0
