Find or build the cargo clone command
use Alien::cargo::clone;
use Env qw( @PATH );
unshift @PATH, Alien::cargo::clone->bin_dir;
system 'cargo', 'clone', 'foo-bar';
This Alien provides the cargo clone command.
my @dir = Alien::cargo::clone->bin_dir;
Returns the list of directories (if any) that need to be added to the PATH
to use
cargo clone
.
Graham Ollis [email protected]
This software is copyright (c) 2024 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.