we_user - manipulate the web.editor user database
we_user [-class classname] [-containedin modulename] [-rootdir dir | -userdb file -onlineuserdb file] command options ...
Valid commands are:
Show the whole database
Add a new user with a password and optionaly a real name and groups.
Like add, but do not fail if user already exists.
add
Delete the named user (by username).
Change the password for user. The -p password option may be omitted, in this case the password is queried in the terminal (recommended).
-p password
Change attributes for user.
Change database meta data.
Print the value of the named key.
Exit with 0 if the named user exists and with 1 if the user does not exist.
WE_Framework UserDB class e.g. WE::DB::User or WE::DB::ComplexUser. Default is WE::DB::ComplexUser.
WE::DB::ComplexUser
Set this if the UserDB class is contained in another module
The root directory of the database (can be used instead of specifying -userdb). By default the current directory is used.
-userdb
The user database file.
The online user database file
Slaven Rezic
WE::DB::ComplexUser, WE::DB::User.
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.