On 13/01/11 23:18 +0100, Bertrand Chenal wrote:
> 
> 
> Hi everyone,
> 
> I started a script to enable bash-completion with trytond here:
> 
> http://codereview.appspot.com/3997041/
> 
> You have to source this file to make it work.
> What it provides:
> 
> - completion of all flag
> 
> - completion of module names when using the --update flag: search them
>   in "path_to_executable/../trytond/modules", is there a better way to
>   find them?

Using the PYTHONPATH to find modules: trytond.modules.* ?

> 
> - database completion with --database: currently only posqtgresql
>   databases and only if bash-completion for psql already exist and is
>   enabled (https://launchpad.net/bugs/164772).
> 
> Another question is that currently, this file is in repo_path/etc, is
> this the best place and is the name ok?

I think it is a tool and then it could go to
http://hg.tryton.org/tryton-tools/


-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgp3HivuPallE.pgp
Description: PGP signature

Reply via email to