we_create_folder_tree - create an intial database for a web.editor site
we_create_folder_tree [-objdb file] [-namedb [file]] [-u|-user user] [-force] [-foldertree file|-empty]
Use the specified filename (default objdb.db) for the object database.
(Without additional argument) Create a name database with the default filename name.db.
Create a name database with the specified filename.
Use username as the owner for all created objects. Defaults to unknown.
unknown
Create an empty object database.
Overwrite an existing object database. If not set, then the script asks the user interactively.
Create a folder tree from the specified file. See "create_folder_tree" in WE::Util::Support for the format of the file.
The web.editor program expects the VisibleToMenu attribute to be set to a true value for visible folders. Do not forget the flag when creating the folder tree from a file. This flag is set automatically for the root object.
Slaven Rezic <eserte@users.sourceforge.net>
To install WE::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WE::DB
CPAN shell
perl -MCPAN -e shell install WE::DB
For more information on module installation, please visit the detailed CPAN module installation guide.