Git::CPAN::Patch::Command::Clone - Clone a CPAN module's history into a new git repository
# from a specific tarball $ git-cpan clone http://... $ git-cpan clone /path/to/Foo-Bar-0.03.tar.gz # from CPAN, module and dist names are okay $ git-cpan clone Foo::Bar $ git-cpan clone Foo-Bar # can also specify the directory to create $ git-cpan clone Foo-Bar my_clone
Clones a CPAN distribution. If a tarball is given, either locally or via an url, it'll be used. If not,
git-cpan will try to find the distribution or module. If it has an official git repository, it'll be cloned. If not, the history will be created using the CPAN releases.
If the target directory is omitted, then the "humanish" part of the distribution is used.
Yanick Champoux <firstname.lastname@example.org>
This software is copyright (c) 2017 by Yanick Champoux.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.