NAME

cpangit-add - import CPAN packages to local CPAN trees

NAME

cpangit-add

USAGE

cpangit-add [OPTIONS] [MODULE::NAME [VERSION]] ...
cpangit-add [OPTIONS] ./PATH/TO/CPANFILE

Add one or more modules, and their dependencies, to a mirror branch. This will add the files to the index, and you can then review and commit them.

A name with "/" or "\\" in it will be treated as a cpanfile. A name without will be treated as the name of a perl module to fetch from upstream.

OPTIONS

--git-dir=PATH

Path to the Git repository of CPAN::InGit. The default is GIT_DIR from the environment, or any git repo above "."

--branch=BRANCH_NAME

Branch name to commit the changes to. If this is the checked-out branch, the index will be updated but no commit will be generated.

VERSION

version 0.002

AUTHOR

Michael Conrad <mike@nrdvana.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2025 by Michael Conrad, and IntelliTree Solutions.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.