On Sat, Dec 10, 2011 at 5:50 PM, Chris McDonough <[email protected]> wrote:
> On Sat, 2011-12-10 at 17:48 -0800, jerry wrote:
>> Thanks bunch for the early Christmas gift :)
>>
>> However, the doc -- """New console scripts named pshell, pviews,
>> proutes, and ptweens do what their paster <commandname> equivalents
>> used to do.""" leaves out paster customized commands, which is also a
>> first-class member of the paster family.
>>
>> Appreciate if we could get the assurance that it is in the road map.
>
> Nope.  But we may create docs about how to create your own console
> script.  That's all these are.

The 'populate_[application]' script created by the 'alchemy' scaffold
is an example of a script.

If you only need a config variable (as in 'sqlalchemy.url'), you can
do it that way. If you need the entire application object or a mock
request environment, see the 'pyramid.paster' module.

(BTW is that module going to keep its name forever now that 'paster'
is irrelevant?)

-- 
Mike Orr <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to