I'd like to be able to write some commandline tools that use the same data
model as the Pylons app I'm developing; however one can't just import the
model because it depends on some Pylons infrastructure, namely PackageHub,
and thus also the config code from PasteScript.  It seems that the easiest
way to do this then is to write some additional commands for PasteScript,
such that the commandline tool gets called like:

 paster somecommand

Can anyone recommend some examples on how to do this?  Having read the
PasteScript docs I'm still no closer to understanding how it fits together,
some examples would be a real help.

Alternatively, is there a better way to write a command line tool?

(Some use cases that spring to mind: a mail gateway a la Request Tracker's
inbound mail interface, or a cron job that, say, sends out invoices or
invoice reminders once a day.)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to