Hi Loïc

symfony evolves fast, and tasks are increasing in number pretty fast. So 
good the time where all would fit in the screen when typing «php symfony»...

I thought as this also as a «don't frighten newcomers» enhancement. 
Maybe listing all is not a good idea, but adding hints on what you can 
do shouldn't be harmfull in a CLI interface.

As Fabien closed the ticket at this moment, I'll wait for his opinion 
about this.

Romain

Loïc Vernet a écrit :
> Hi Romain,
>
> I had a similar idea some times ago:
>
> http://trac.symfony-project.org/ticket/4714
>
> But indeed it would be cool to have the task list for a given 
> namespace when typing an unkown task.
>
> ++ COil
>
> ------------------------------------------------------------------------
> *De :* Romain Dorgueil <[email protected]>
> *À :* [email protected]
> *Envoyé le :* Mardi, 3 Mars 2009, 23h13mn 54s
> *Objet :* [symfony-devs] [1.3] cli «user's my friend» enhancement proposal
>
>
> Hi
>
> I had some ideas of simple enhancements that we can make for sf 1.3.
>
> First one is for CLI interface. I often get frustrated when running a
> mistypen task because it only tells me "task xxx does not exists". I
> propose to add a list of tasks within tryed namespace, and a list of
> existing namespaces below this error message. The patch is pretty simple
> and already runs on my dev branch @home. The output looks currently like:
>                                      
>   Task "project:hello" is not defined.       
>                                              
>   Tasks available within namespace "project":
>   - clear-controllers                       
>   - deploy                                 
>   - disable                                 
>   - enable                                 
>   - freeze                                 
>   - permissions                             
>   - unfreeze                               
>   - upgrade1.1                             
>   - upgrade1.2                             
>   - upgrade1.3                             
>                                              
>   Other namepaces available:                 
>   - app                                     
>   - cache                                   
>   - configure                               
>   - generate                               
>   - i18n                                   
>   - log                                     
>   - plugin                                 
>   - project                                 
>   - propel                                 
>   - test                                   
>                                              
> This can obviously be enhanced, but it was a fast and dirty test, please
> tell if you have good ideas about it, or about similar messages from the
> CLI that can be enhanced to help the user go faster.
>
> Romain
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to