.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "CPANPLUS::Shell::Default 3" .TH CPANPLUS::Shell::Default 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME CPANPLUS::Shell::Default \- the default CPANPLUS shell .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 3 \& ### loading the shell: \& $ cpanp # run \*(Aqcpanp\*(Aq from the command line \& $ perl \-MCPANPLUS \-eshell # load the shell from the command line \& \& \& use CPANPLUS::Shell qw[Default]; # load this shell via the API \& # always done via CPANPLUS::Shell \& \& my $ui = CPANPLUS::Shell\->new; \& $ui\->shell; # run the shell \& $ui\->dispatch_on_input( input => \*(Aqx\*(Aq); # update the source using the \& # dispatch method \& \& ### when in the shell: \& ### Note that all commands can also take options. \& ### Look at their underlying CPANPLUS::Backend methods to see \& ### what options those are. \& cpanp> h # show help messages \& cpanp> ? # show help messages \& \& cpanp> m Acme # find acme modules, allows regexes \& cpanp> a KANE # find modules by kane, allows regexes \& cpanp> f Acme::Foo # get a list of all releases of Acme::Foo \& \& cpanp> i Acme::Foo # install Acme::Foo \& cpanp> i Acme\-Foo\-1.3 # install version 1.3 of Acme::Foo \& cpanp> i # install from URI, like ftp://foo.com/X.tgz \& cpanp> i # install from an absolute or relative directory \& cpanp> i 1 3..5 # install search results 1, 3, 4 and 5 \& cpanp> i * # install all search results \& cpanp> a KANE; i *; # find modules by kane, install all results \& cpanp> t Acme::Foo # test Acme::Foo, without installing it \& cpanp> u Acme::Foo # uninstall Acme::Foo \& cpanp> d Acme::Foo # download Acme::Foo \& cpanp> z Acme::Foo # download & extract Acme::Foo, then open a \& # shell in the extraction directory \& \& cpanp> c Acme::Foo # get a list of test results for Acme::Foo \& cpanp> l Acme::Foo # view details about the Acme::Foo package \& cpanp> r Acme::Foo # view Acme::Foo\*(Aqs README file \& cpanp> o # get a list of all installed modules that \& # are out of date \& cpanp> o 1..3 # list uptodateness from a previous search \& \& cpanp> s conf # show config settings \& cpanp> s conf md5 1 # enable md5 checks \& cpanp> s program # show program settings \& cpanp> s edit # edit config file \& cpanp> s reconfigure # go through initial configuration again \& cpanp> s selfupdate # update your CPANPLUS install \& cpanp> s save # save config to disk \& cpanp> s mirrors # show currently selected mirrors \& \& cpanp> ! [PERL CODE] # execute the following perl code \& \& cpanp> b # create an autobundle for this computers \& # perl installation \& cpanp> x # reload index files (purges cache) \& cpanp> x \-\-update_source # reload index files, get fresh source files \& cpanp> p [FILE] # print error stack (to a file) \& cpanp> v # show the banner \& cpanp> w # show last search results again \& \& cpanp> q # quit the shell \& cpanp> e # exit the shell and reload \& \& cpanp> /plugins # list available plugins \& cpanp> /? PLUGIN # list help test of \& \& ### common options: \& cpanp> i ... \-\-skiptest # skip tests \& cpanp> i ... \-\-force # force all operations \& cpanp> i ... \-\-verbose # run in verbose mode .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" This module provides the default user interface to \f(CW\*(C`CPANPLUS\*(C'\fR. You can start it via the \f(CW\*(C`cpanp\*(C'\fR binary, or as detailed in the SYNOPSIS. .SH "BUG REPORTS" .IX Header "BUG REPORTS" Please report bugs or other issues to . .SH AUTHOR .IX Header "AUTHOR" This module by Jos Boumans . .SH COPYRIGHT .IX Header "COPYRIGHT" The CPAN++ interface (of which this module is a part of) is copyright (c) 2001 \- 2007, Jos Boumans . All rights reserved. .PP This library is free software; you may redistribute and/or modify it under the same terms as Perl itself. .SH "SEE ALSO" .IX Header "SEE ALSO" CPANPLUS::Shell::Classic, CPANPLUS::Shell, cpanp