dradis Framework Forumsdradis General ForumsUser extensions and pluginsImport and export plugin generators
Pages: [1]
Print
Author Topic: Import and export plugin generators  (Read 1144 times)
siebert
dradis Core Team
Newbie
*****
Posts: 1


View Profile
« on: April 08, 2009, 11:41:33 pm »

I have created two generators for the rails server application. Running the generators creates either an import or an export (depending on which plugin you run) plugin framework for you.

Have a look and tell me what you think. I have created them to stub out the framework to the best of my knowledge. Let me know if there are stuff missing or stuff that might be nice to add.

To use:
(to create an import plugin)
ruby script/generate import_plugin <plugin_name>

(to create an export plugin)
ruby script/generate export/plugin <plugin_name>

The generators will create a plugin structure that is exactly like a standard Rails plugin with the required customization. It is a fairly straight forward process to create you own import/export plugin by just filling in the meat into the framework that the generator is creating for you.

Have a look at the USAGE file for a more detail. I would also recommend to refer to the export and import plugins that are in the trunk. It will give a very good idea of how to approach the task. Another creat reference is etd's blog post on usefulfor.com http://usefulfor.com/ruby/2009/03/27/how-to-create-a-dradis-export-plugin/

Regards
Siebert
« Last Edit: April 08, 2009, 11:45:48 pm by siebert » Logged

Pages: [1]
Print
Jump to: