[Ml-yokadi] We should use Keyword in a smarter way
Sébastien Renard
Sebastien.Renard
Sam 14 Fév 17:40:11 CET 2009
Le samedi 14 février 2009, Sébastien Renard a écrit :
> Le vendredi 13 février 2009, Aurélien Gâteau a écrit :
> > This looks more natural to me. The rule would be "if the first word ends
> > with a ':', it is a project name". This rule would apply to t_add,
> > t_edit and t_list as well. What do you think about this?
>
> I like it. Much more natural.
I think the good way to implement it would be to have a legacy switch
(-p --project) and make the change myproject: => -p myproject in parse_args
method of YokadiOptionParser. Like keyword (@lala => -k lala).
--
Sébastien
Plus d'informations sur la liste de diffusion Ml-yokadi