Commit Graph

79 Commits

Author SHA1 Message Date
Stig Bakken
9cd470d160 * no output in verbosity level 0 2002-05-20 10:43:29 +00:00
Stig Bakken
a31e8b7373 * remove getCommands() from here
* added options to "pear cvstag": -q -Q -d -F
2002-05-20 10:31:12 +00:00
Stig Bakken
845e6f86bc * remove run() from this class 2002-05-20 08:56:00 +00:00
Tomas V.V.Cox
3b97fe3657 Added missing key 'doc' for -Z help 2002-05-20 01:22:00 +00:00
Stig Bakken
7542066eef * no need for getCommands() here 2002-05-20 00:17:43 +00:00
Stig Bakken
c2d1d3fc82 * new command setup 2002-05-20 00:15:52 +00:00
Stig Bakken
9fd5019fed * typo fixes, wrapping 2002-05-20 00:11:15 +00:00
Tomas V.V.Cox
26493531d4 Put "pear help command" working again 2002-05-19 15:44:47 +00:00
Stig Bakken
6dce2376da * new command setup 2002-05-19 06:48:40 +00:00
Stig Bakken
ce2b2b76a0 * convert to new command setup 2002-05-14 12:46:17 +00:00
Stig Bakken
b45e7182a0 * typo 2002-05-14 12:34:49 +00:00
Stig Bakken
95ab15f0a5 * add command definitions, split run() into one method for each command 2002-05-14 01:49:56 +00:00
Stig Bakken
677cda3ea4 * no need for getHelp() here anymore 2002-05-14 01:49:18 +00:00
Stig Bakken
1da524b016 * moved get{Help,Commands,Options} here 2002-05-14 01:48:20 +00:00
Stig Bakken
3bc12ac242 * refactored the command/options code:
- now each command class should define a "commands" property with
    documentation, option specs etc.
  - both long and short options are now supported
  - after recent changes to Console_Getopt, you may now have options
    to commands even though the same option is also valid for the pear
    command itself
  - less CLI-centric, better suited to Gtk and Web frontends
2002-05-12 21:09:04 +00:00
Tomas V.V.Cox
625b9c5f88 Add "r" in cmd help 2002-05-12 16:31:30 +00:00
Stig Bakken
fddbd15554 * add "pear run-tests" command 2002-05-09 12:45:29 +00:00
Stig Bakken
dad70be69c * show "update ok" after updates 2002-05-09 06:49:12 +00:00
Stig Bakken
b14c2f9185 * add -G option to "pear" for php-gtk frontend
* added Gtk stub (only creates window right now)
* added command descriptions
2002-05-09 02:31:37 +00:00
Stig Bakken
ac53945e9b * PEAR_Installer constructor now expects only the UI object 2002-04-29 06:24:37 +00:00
Stig Bakken
1ca41f7f49 * PEAR_Common::downloadHttp no longer wants a config object 2002-04-29 06:23:51 +00:00
Stig Bakken
eade67d6ab * implemented "list-remote-packages" command 2002-04-28 07:35:30 +00:00
Stig Bakken
722cd4fa17 * use PEAR_Common::downloadHttp() 2002-04-23 07:01:45 +00:00
Tomas V.V.Cox
13f7ec4374 Bail on no HTTP.php present in the system
Let "pear download" act ala wget
2002-04-21 01:34:49 +00:00
Stig Bakken
021ed8a10b * reintroduce (un)install -r option for Registeration only 2002-04-19 14:00:14 +00:00
Tomas V.V.Cox
7325f1a4f0 Added standar header 2002-04-16 00:38:21 +00:00
Tomas V.V.Cox
8a365fd8a2 Vim tags added plus some other minor text about license and author 2002-04-16 00:31:16 +00:00
Tomas V.V.Cox
299849fbf2 Be more clear when no packages are installed 2002-04-16 00:23:32 +00:00
Tomas V.V.Cox
26e59d106c Give the right error when wrong params given to package-info and
fix/add help some help messages
2002-04-16 00:22:55 +00:00
Stig Bakken
d1814a3c12 * cvstag command: tag slide option is -f, not -F 2002-04-13 00:23:19 +00:00
Tomas V.V.Cox
ca0b7690c8 Implemented "pear download <pakage>" 2002-04-10 15:15:12 +00:00
Tomas V.V.Cox
f833895afd Help for command "shell-test" 2002-04-10 12:40:06 +00:00
Tomas V.V.Cox
3788b31b0e Added "pear package -n" (only output the created package file name) 2002-04-10 12:23:31 +00:00
Stig Bakken
e91f94a259 * package-validate uses package.xml as default param 2002-04-09 17:15:17 +00:00
Tomas V.V.Cox
dc811f3041 Fix package-list not showing the right Install path 2002-04-09 13:49:47 +00:00
Stig Bakken
8efdf7bc37 * get rid of CommandResponse stufff 2002-04-09 08:18:49 +00:00
Stig Bakken
894cbdf3d2 * implemented role="script" and <replace> substitution during install 2002-04-09 08:10:12 +00:00
Stig Bakken
6303972256 * added "cvstag" command 2002-04-07 19:42:05 +00:00
Stig Bakken
d6d8d78754 * remove empty fold 2002-04-07 16:51:17 +00:00
Tomas V.V.Cox
361cebe460 Just some help cleanup 2002-04-07 14:30:32 +00:00
Stig Bakken
73f4b5b2fa * typo 2002-04-07 13:22:21 +00:00
Stig Bakken
5179e9d0fa * rename package-verify command to package-validate 2002-04-07 12:40:51 +00:00
Stig Bakken
dc974a0299 * support for .tar files in PEAR_Installer
* new command: package-verify
* "package" command now sanity-checks the package information before
  making the tarball
* -Z option to the install/update commands for downloading non-compressed
  packages
2002-04-07 10:38:04 +00:00
Stig Bakken
d4dfead250 * Added "-s" (soft update) option to install/upgrade. Will make installs
fail silently.
2002-04-02 09:21:48 +00:00
Stig Bakken
dfa3b671f7 * Implemented "shell-test" command for writing shell scripts that check
whether a package is installed.  Example of use:

    if ! pear shell-test Net_Socket; then
        echo "You don't have the Net_Socket package installed!" >&2
        exit 1
    fi
2002-04-02 09:20:28 +00:00
Tomas V.V.Cox
750ca4295e typo 2002-04-01 19:17:59 +00:00
Tomas V.V.Cox
b57e0609ad Added layer checks and reorganize a little the code 2002-04-01 19:16:01 +00:00
Tomas V.V.Cox
6ec8fbc30e - Make "config-set" actually store the values
- Help and error messages enhance
2002-04-01 18:19:45 +00:00
Tomas V.V.Cox
827334cd2f - Added "nodeps" option to install/upgrade/uninstall
(pear install -n package.tgz)
- Finish to document the install commands
2002-04-01 17:25:42 +00:00
Tomas V.V.Cox
6e8268e4a4 added help 2002-04-01 15:23:46 +00:00