rss Cli

Bundled CLI Tools

Scorpio is shipped with several CLI utilities. These are located in the /tools folder. They are not essential, but can help with development. More »

Posted in Cli on 22 May 2010 @ 12:47


cliProcessInformation

Parses a daemon status file into parameters allowing them to be displayed to users or used by other processes. Example usage: $oProcInfo = new cliProcessInformation('loggingd'); More »

Posted in Cli on 08 May 2010 @ 16:46


cliCommandOption

Creates a command that requires one value out of several possibilities. More »

Posted in Cli on 19 Nov 2009 @ 20:30


cliCommandPassword

Encodes the passed string into a hashed string via the passwordHash object. More »

Posted in Cli on 19 Nov 2009 @ 20:30


cliCommandProcessLogger

Captures process information from ps -waxl and writes it to a log file named after the process. Can have a variable sleep time between readings. More »

Posted in Cli on 19 Nov 2009 @ 20:30

cliCommandRecurse

Recurse directories when searching for resources More »

Posted in Cli on 19 Nov 2009 @ 20:30


cliCommandSerialise

Utility command that simple passes the input into the PHP serialize function and outputs it. Useful if you have to hack a database record that is a serialised string of text for instance. A specific example: the baseTableParamSet stores all propertie... More »

Posted in Cli on 19 Nov 2009 @ 20:30


cliCommandSwitch

Allows switches to be defined with help text in an application. The cliCommandSwitch like cliCommandNull is not executed and has an empty execute path. Use when you have un-documented aliases or switches that your app uses but you do not want to crea... More »

Posted in Cli on 19 Nov 2009 @ 20:30


cliCommandUpdate

Handles the keyword 'update' with a variable number of 'update' objects assigned at runtime. Allows for the handling to be consistent and re-used but the object types to change. More »

Posted in Cli on 19 Nov 2009 @ 20:30


cliCommandVersion

Outputs version information about the current running framework More »

Posted in Cli on 19 Nov 2009 @ 20:30

More »