\UserTask

CEO User management for the command line

Summary

Methods
Properties
Constants
mainAction()
quiet()
consoleLog()
quit()
log()
inputMasked()
importAction()
createAction()
updateAction()
passwdAction()
No public properties found
No constants found
getClientList()
$loud
N/A
No private methods found
No private properties found
N/A

Properties

$loud

$loud : 

Type

Methods

mainAction()

mainAction() 

Default handler, override for default action.

Otherwise, will print actions for task

quiet()

quiet() 

Quiet the console

consoleLog()

consoleLog(string  $message, string  $color = 'green', boolean  $endline = true) 

Log output to console. Provides easy way to color output

Parameters

string $message
string $color
boolean $endline

set "false" to disable output clearing

quit()

quit(string  $message) 

Quit and dump the error

Parameters

string $message

log()

log(string  $message, string  $log_file = '/tmp/app.log') 

Log output

Parameters

string $message
string $log_file

Location of log file

inputMasked()

inputMasked(  $message,   $color = 'green') 

Parameters

$message
$color

importAction()

importAction(  $params = null) 

Parameters

$params

createAction()

createAction(  $params = null) 

Parameters

$params

updateAction()

updateAction(  $params = null) 

Parameters

$params

passwdAction()

passwdAction(  $params = null) 

Parameters

$params

getClientList()

getClientList() : Array

Determines installed CEO clients based on installed configs.

Returns

Array —

client codes