[PEPr] Comment on Console::Console_Getargs

From: Date: Wed, 21 Apr 2004 16:52:38 +0000
Subject: [PEPr] Comment on Console::Console_Getargs
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28218@lists.php.net to get a copy of this message
Bertrand Mansion (http://pear.php.net/user/mansion) has commented on the proposal for Console::Console_Getargs. Comment: I thought about merging it with Console_Getopt but both packages have a different approach and accept different type of parameters. Furthermore, Console_Getopt is mostly a suite of static methods. On the other hand, Console_Getargs or whatever the final name is, if it is accepted, uses a factory. So it should be easy to use the factory method to build a Console_Getopt object, althrough I am not yet sure how useful this would be. If that's a requirement, I can investigate this issue further. It shouldn't add too much overhead, but the help generator will need a few more efforts to be adapted and won't provide descriptions. If someone is interested in contributing the code that will make the factory build a Console_Getopt object (if this is actually possible), I am interested, as I am busy at the moment. ;) Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=58 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

« previous php.pear.dev (#28218) next »