As far as I know, writing custom command lines tools is achieved through the bootstrap module : http://docs.pylonsproject.org/projects/pyramid/en/latest/api/paster.html
You can easily write a generic command builder like it's is done in kotti : https://github.com/Kotti/Kotti/blob/master/kotti/util.py#L375 https://github.com/Kotti/Kotti/blob/master/kotti/filedepot.py#L341 Seth also provides tools to build custom commands that looks more like django's manage.py : https://github.com/jnosal/seth/blob/master/seth/command.py https://github.com/jnosal/seth/tree/master/examples/manage Regards, Gaston Le 01/06/2015 12:08, Chris Withers a écrit : > On 01/06/2015 08:11, Thierry Florac wrote: >> Hi, >> Do you want to create new management commands or do you just want to >> get access to the shell? > Yes, I'm wondering if there's a framework for adding in new commands. > > Chris > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
