App::Dochazka::CLI::Commands::Employee - Employee commands
EMPLOYEE EMPLOYEE_SPEC EMPLOYEE PROFILE EMPLOYEE_SPEC PROFILE EMPLOYEE SHOW EMPLOYEE_SPEC SHOW
EMPLOYEE LDAP EMPLOYEE_SPEC LDAP
EMPLOYEE_SPEC LDAP IMPORT
EMPLOYEE LIST EMPLOYEE LIST _TERM
EMPLOYEE TEAM
SET EMPLOYEE SEC_ID _TERM
SET EMPLOYEE FULLNAME
EMPLOYEE_SPEC SET SEC_ID _TERM
EMPLOYEE_SPEC SET FULLNAME
Reset one's own password
EMPLOYEE PASSWORD EMPLOYEE SET PASSWORD
Reset password of an arbitrary employee
EMPLOYEE_SPEC PASSWORD EMPLOYEE_SPEC SET PASSWORD
Set supervisor of an arbitrary employee
EMPLOYEE_SPEC SUPERVISOR _TERM EMPLOYEE_SPEC SET SUPERVISOR _TERM
Functions used by multiple handlers
Given an employee object, return the current priv level of that employee. If the employee doesn't exist, the return value will be undef.
Given an employee object, return supervisor employee object. If no supervisor can be determined, the 'eid' and 'nick' attributes of the resulting supervisor object will be undefined.
Function that the handlers are wrappers of
Takes PARAMHASH with following properties:
eid => EID of employee password => the new password (*optional*)
Given an employee object, prepare OK return status intended for EMPLOYEE PROFILE but usable also for other commands.
To install App::Dochazka::CLI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Dochazka::CLI
CPAN shell
perl -MCPAN -e shell install App::Dochazka::CLI
For more information on module installation, please visit the detailed CPAN module installation guide.