Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: indigo0086 on February 13, 2007, 04:46:19 pm

Title: Exporting a file as HTML through the Console Runner?
Post by: indigo0086 on February 13, 2007, 04:46:19 pm
I have a lot of files and don't want to manually go through each one in the GUI of Codeblocks, what are the arguments to export a file as an html file?
Title: Re: Exporting a file as HTML through the Console Runner?
Post by: Ceniza on February 18, 2007, 04:28:00 am
If it's what I think you mean, there's no way to do that. There are no arguments to call the exporter plugin through the command line, and converting the plugin to a standalone application is not that easy.
Title: Re: Exporting a file as HTML through the Console Runner?
Post by: mandrav on February 18, 2007, 01:22:14 pm
If it's what I think you mean, there's no way to do that. There are no arguments to call the exporter plugin through the command line, and converting the plugin to a standalone application is not that easy.

Note though that by pure coincidence I was just about to add a member function for plugins to process the command-line so each plugin can accept its own arguments :).
Title: Re: Exporting a file as HTML through the Console Runner?
Post by: Ceniza on February 19, 2007, 05:00:32 am
If it's what I think you mean, there's no way to do that. There are no arguments to call the exporter plugin through the command line, and converting the plugin to a standalone application is not that easy.

Note though that by pure coincidence I was just about to add a member function for plugins to process the command-line so each plugin can accept its own arguments :).

Hmmm, that would help to implement that feature. Let me know when you implement it so I can start playing with it :wink:
Title: Re: Exporting a file as HTML through the Console Runner?
Post by: mandrav on February 20, 2007, 11:38:25 am
Quote
Hmmm, that would help to implement that feature. Let me know when you implement it so I can start playing with it

Done, check the svn commit logs.