Skip to content

Creating CLI Targets

linusnorton edited this page Dec 29, 2011 · 3 revisions

All xFrame requests are available on the command line by running:

$ ./script/xframe [request]

You can specify a specific configuration file to use:

$ ./script/xframe index config=dev

And you can pass parameters:

$ ./script/xframe index key=value param1

If your request has a @Params annotation all single values are mapped to the values in @Params. Key value pairs are mapped directly to the request object.

Clone this wiki locally