NAME
App::Magpie::App::Command::checkout - check-out or update a given package
VERSION
version 1.122700
SYNOPSIS
$ magpie checkout perl-Foo-Bar
$ magpie co -d ~/rpm/cauldron -q perl-Foo-Bar
$ eval $( magpie co -s perl-Foo-Bar )
# to get list of available options
$ magpie help checkout
DESCRIPTION
This command will check out a package from Mageia repository, or update a local check-out if it already exists. It uses the mgarepo
command underneath, so you might want to look at this command for more information.
The "shell" option (--shell
/ -s
) is especially useful if you eval
the result of this command, to go directly in the fresh check-out directory. In that case, you may want to add the following to your ~/.bashrc:
function cco() { eval $(magpie co -d ~/rpm/cauldron -q -s $*); }
AUTHOR
Jerome Quelin <jquelin@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.