NAME
Luv::CLI::Git - git operations for fetching and updating library dependencies
VERSION
version 0.001
SYNOPSIS
my $git = Luv::CLI::Git->new;
$git->clone('https://github.com/tesselode/baton', 'lib/baton');
$git->pull('lib/baton');
DESCRIPTION
Thin wrapper around shelling out to the git binary via IPC::Run, used to fetch and update vendored library dependencies.
NAME
Luv::CLI::Git - git operations for fetching and updating library dependencies
METHODS
clone($url, $dest, $ref)
Clones $url into $dest. If $ref is given, checks it out after cloning. Dies with git's stderr output on failure.
checkout($dest, $ref)
Checks out $ref in the repository at $dest. Dies on failure.
pull($dest)
Runs git pull in the repository at $dest. Dies on failure.
current_ref($dest)
Returns the current commit SHA of the repository at $dest.
AUTHOR
Nobunaga <nobunaga@cpan.org>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Nobunaga <nobunaga@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Ogun.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.