Jump to revision: | |
---|---|
Author: | pje |
Date: | Sun Apr 3 15:47:51 2005 UTC (19 years ago) |
Log Message:
Added a '-c/--config' option to PEAK bootstrap commands to load an .ini configuration file in a new service area before executing any subcommands. This allows you to do things like:: peak launch -c bulletins ref:sitemap@sitemap.xml which loads the 'bulletins' configuration file before launching the sitemap. Note that if you are subclassing 'commands.Bootstrap' you can suppress this option using 'options.reject_inheritance("-c","--config")' in the body of your subclass' class definition. You may wish to do this if your application's subcommands must run in the same service area as the parent command. (E.g. if the parent command expects the subcommand to partake in a transaction controlled by the parent command.)
Changed paths:
Path | Action | Text Changes | Prop Changes | Diff to Previous |
---|---|---|---|---|
PEAK/CHANGES.txt | modified | X | (diff to previous) | |
PEAK/src/peak/running/commands.py | modified | X | (diff to previous) |
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |