Remy Blank wrote:
> mixedpuppy wrote:
>> I would also be interested in having the other command line arguments
>> handled through an interface (e.g. the inherit arg for trac.ini).  I
>> think a good example of the need for that is the oforge-admin (http://
>> code.optaros.com/trac/oforge/browser/trunk/plugins/oforgeplugin/oforge/
>> console.py).  I looked at doing something similar, and realized that
>> there was no way to add command line arguments.
> 
> Do you mean arguments of the form "-o" or "--output"? Those are just
> passed as normal positional arguments, so you could parse them in the
> command handler.
> 
> I'm not sure what you mean with "the inherit arg from trac.ini", though...
> 
> -- Remy
> 

I think because we (almost)follow the typical order of unix commands 
from lowest to highest:

1. program defaults
2. /etc/xxx configuration
we don't do 3. ~/.xxxxrc
4. commandline args

It's useful to have an /etc configuration file that is always in a 
standard spot and lets you put often used configuration in.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to