2007-02-28: webgen 0.4.2 released! Bugs fixed and some feature added! More...
2007-01-12: webgen 0.4.1 released! Bug fix for running webgen on Windows and other small updates! More...
2007-01-05: webgen 0.4.0 released! Major update to the core and plugins and many new features added! More...
| Plugin name: | Tag/ExecuteCommand (Tag/Default) |
|---|---|
| Author: | Thomas Leitner <t_leitner@gmx.at> |
| Summary: | Executes the given command and uses its standard output as the tag value |
| Parameters: | command (=default mandatory parameter): nil escapeHTML: true highlight: nil processOutput: true |
| Handled tags: | execute |
The execute command tag is used to include the output from a shell command. It also includes a parameter for highlighting the output via the Misc/SyntaxHighlighter.
| Usage | Output |
|---|---|
| {execute: uname -p} | unknown |
| {execute: {command: 'echo puts LANG + 5.to_s', highlight: ruby}} | puts LANG + 5.to_s |