Hi,

you just need a "dispatcher" for the right context, have a look into the sample 
app at: http://svn.agavi.org/branches/1.0/samples/pub/console.php

after that, your views shall implement a executeText() function, like 
http://svn.agavi.org/branches/1.0/samples/app/modules/Products/views/IndexSuccessView.class.php

hope that helps for a bit :)

cheers,
robert

On 11.01.2010, at 18:23, Craig Fairhurst wrote:

> Hi
> 
> I'm wanting to implement command line tools with Agavi, could somebody show 
> me what is needed to get started?
> 
> I have a console defined in output_types.xml, the standard one from the 
> sample app, see below:
> <ae:configuration context="console">
>       <output_types default="text">
> 
>               <output_type name="text" />
> 
>       </output_types>
> </ae:configuration>
> 
> I haven't got a clue how to proceed from here. Any advice/examples much 
> appreciated.
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to