webgen1
A template based static website generator
Usage
webgen [global
options]
command
[command
arguments]
Overview
Webgen is used to generate web pages from page description and template files. You create one template file in which you define the layout of your page and where the content should go. After that you can create page description files in which you only define the content.
Options
-
-V, --verbosity level -
Set verbosity to the given level.
- -L, --[no-]logfile
-
Log to a file.
-
-h, --help [command] -
Show help (optionally for a specific command).
-
-v, --version -
Show the version of the program and exit.
Commands
clean-
Removes the generated or all files from the output directory
create-
Creates the basic directories and files for webgen. This includes the source and output directories, the log and the plugin directory. Also, a basic template plus a CSS and an index file are created. Takes the directory to create the webgen structure in as an argument.
run-
Runs webgen which will result in the generation of the HTML data in the output directory from the files in the source directory. This command is used as the default command when no command was issued.
show-
Shows all available plugins or their configuration items. Takes either config or plugins as an argument.
help-
Provides help for the individual commands.
version-
Shows the version of the program and exit.
Releases
Unchanged in 3 releases since Debian 4.0 (Etch).