generate-pear2 command is used to create a bare
skeleton for a new PEAR2 package. It creates everything needed except the
Two arguments are accepted,
package and optionally
package argument is the name of the package to create
a skeleton for. This is used as the directory name and as the package name
used within files related to creating a PEAR2 package.
MyPackage is passed, a directory will be created in
the current working directory titled
MyPackage. All the
required packaging files will be within this directory, and you can place
your code within the
If no channel is specified
PEAR2_MyPackagewill be the name of your package if
MyPackageis passed as the package name.
channel argument defaults to pear2.php.net.