Slaven Rezić > WE_Framework-0.097_03 > we_create_folder_tree

Download:
WE_Framework-0.097_03.tar.gz

Annotate this POD

Source  

NAME ^

we_create_folder_tree - create an intial database for a web.editor site

SYNOPSIS ^

  we_create_folder_tree [-objdb file] [-namedb [file]] [-u|-user user]
                        [-force] [-foldertree file|-empty]

DESCRIPTION ^

OPTIONS ^

-objdb filename

Use the specified filename (default objdb.db) for the object database.

-namedb

(Without additional argument) Create a name database with the default filename name.db.

-namedb filename

Create a name database with the specified filename.

-user username

Use username as the owner for all created objects. Defaults to unknown.

-empty

Create an empty object database.

-force

Overwrite an existing object database. If not set, then the script asks the user interactively.

-foldertree file

Create a folder tree from the specified file. See "create_folder_tree" in WE::Util::Support for the format of the file.

CAVEATS ^

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.

AUTHOR ^

Slaven Rezic <eserte@users.sourceforge.net>

syntax highlighting: