Re: I recommand Console_CommandLine
| From: | Helgi Þormar Þorbjörnsson | Date: | Wed, 23 Mar 2011 15:48:15 +0000 |
| Subject: | Re: I recommand Console_CommandLine | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-54174@lists.php.net to get a copy of this message | ||
On 23 Mar 2011, at 07:58, David Jean Louis wrote:
> Le 22/03/2011 23:35, Laurent Laville a écrit :
>> Hello all,
>>
>> With PHP_CompatInfo 2 (until RC2) and its CLI, I've tried to implement concept of
>> subcommand with ezConsoleInput.
>>
>> It was hard, and not marvellous.
>> I recommand Console_CommandLine : it's a Jewel :)
>>
>> If you have in mind to add a CLI to your application. Don't hesitate and choose
>> Console_CommandLine. You don't have to regret it.
>>
>> Laurent Laville
>>
>> See for example the changes I've applied to the new CLI of PHPCI 2 (future RC3)
>>
>>
>> https://github.com/llaville/php-compat-info/commit/543b8de6c1c6944fa57510c14eec36d22b96afda
>>
>>
>
> Salut Laurent,
>
> glad to hear it was useful for you ! thanks for the feedback.
Glad to hear it's useful for more people; Does this mean we are going to see the PEAR1 and
PEAR2 version kept in sync and further development? :-D
Had a look at the code the other day, pretty nice; Would have loved using it in PEAR, am currently
writing some messy messy ARGV like parsing code of strings, not fun! :P
We are using it / are planning on using it in Pyrus but well... it seemed somewhat dead for the
longest time (the PEAR2 version anyway), much so that a person forked Pyrus on github and is
implementing Symfony Console and is trying to convince us to use that ;-)
- Helgi