The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::gh::Command::All - clone/update all repositories from one

DESCRIPTION

If you need a mirror of repos from one, you will need this command.

If repos exists, clone command will pull changes for these repos from remotes.

USAGE

$ mkdir github
$ cd github

To clone c9s' repos:

$ gh all c9s

Once you have all repos cloned, to update them, you only need to run all command again:

$ gh all c9s

OPTIONS

Genernal Options:

--prompt
    prompt for each cloning repo.

--into {path}
    clone repos into a {path}.

--skip-forks
    skip repos which has a parent repo (fork from others)

--skip-exists, -s
    skip existed repos.

--verbose
    verbose output.

--bare
    clone repos as bare repos.
    this option adds postfix ".git" to directory.
    e.g.: "{dirname}.git"

--mirror
    clone repos as mirror repos.
    this option adds postfix ".git" to directory.
    e.g.: "{dirname}.git"

--prefix {prefix}
    Add prefix to repository name.

--force, -f
    remove existed repos before cloning repos.

Clone URL format:

--ssh

--http

--https

--git