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