Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.2

Request #15251 Allow specifying optional arguments for sub-commands
Submitted: 2008-12-05 20:20 UTC
From: gauthierm Assigned: izi
Status: Closed Package: Console_CommandLine (version CVS)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 43 + 46 = ?

 
 [2008-12-05 20:20 UTC] gauthierm (Michael Gauthier)
Description: ------------ For a package I'm working on, I'd like to create the following command-line interface: sqs [--config=filename] list [optional-prefix] sqs [--config=filename] create <name> sqs [--config=filename] delete <url> sqs [--config=filename] version sqs [--config=filename] help [optional-command-name] Currently, Console_CommandLine does not allow optional arguments for sub-commands so I have to implement this using Console_Getopt.

Comments

 [2008-12-06 11:56 UTC] izi (David Jean Louis)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Console_CommandLine