CPANPLUS::Shell::Default3pm
The default cpanplus shell
Usage
### loading the shell:$ cpanp # run 'cpanp' from the command line$ perl -MCPANPLUS -eshell # load the shell from the command lineuse CPANPLUS::Shell qw[Default]; # load this shell via the API# always done via CPANPLUS::Shellmy $ui = CPANPLUS::Shell->new;$ui->shell; # run the shell$ui->dispatch_on_input( input => 'x'); # 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 messagescpanp> ? # show help messagescpanp> m Acme # find acme modules, allows regexescpanp> a KANE # find modules by kane, allows regexescpanp> f Acme::Foo # get a list of all releases of Acme::Foocpanp> i Acme::Foo # install Acme::Foocpanp> i Acme-Foo-1.3 # install version 1.3 of Acme::Foocpanp> i <URI> # install from URI, like ftp://foo.com/X.tgzcpanp> i <DIR> # install from an absolute or relative directorycpanp> i 1 3..5 # install search results 1, 3, 4 and 5cpanp> i * # install all search resultscpanp> a KANE; i *; # find modules by kane, install all resultscpanp> t Acme::Foo # test Acme::Foo, without installing itcpanp> u Acme::Foo # uninstall Acme::Foocpanp> d Acme::Foo # download Acme::Foocpanp> z Acme::Foo # download & extract Acme::Foo, then open a# shell in the extraction directorycpanp> c Acme::Foo # get a list of test results for Acme::Foocpanp> l Acme::Foo # view details about the Acme::Foo packagecpanp> r Acme::Foo # view Acme::Foo's README filecpanp> o # get a list of all installed modules that# are out of datecpanp> o 1..3 # list uptodateness from a previous searchcpanp> s conf # show config settingscpanp> s conf md5 1 # enable md5 checkscpanp> s program # show program settingscpanp> s edit # edit config filecpanp> s reconfigure # go through initial configuration againcpanp> s selfupdate # update your CPANPLUS installcpanp> s save # save config to diskcpanp> s mirrors # show currently selected mirrorscpanp> ! [PERL CODE] # execute the following perl codecpanp> b # create an autobundle for this computers# perl installationcpanp> x # reload index files (purges cache)cpanp> x --update_source # reload index files, get fresh source filescpanp> p [FILE] # print error stack (to a file)cpanp> v # show the bannercpanp> w # show last search results againcpanp> q # quit the shellcpanp> e # exit the shell and reloadcpanp> /plugins # list available pluginscpanp> /? PLUGIN # list help test of <PLUGIN>### common options:cpanp> i ... --skiptest # skip testscpanp> i ... --force # force all operationscpanp> i ... --verbose # run in verbose mode
Overview
This module provides the default user interface to "CPANPLUS". You can start it via the "cpanp" binary, or as detailed in the SYNOPSIS.
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.