rss Tags : clicommand

testCommand

Executes the test cases specified. This can either be all test cases or a specific package or a specific test case in a package. More »

Posted in Test on 19 Nov 2009 @ 20:39


testCommandListTestCases

Lists all the tests cases in the tests folder. More »

Posted in Test on 19 Nov 2009 @ 20:39


dbUpdateCommandBackup

Helps create a backup by calling the registered databases utility method to backup the system. Requires the databases to be specified for backup. More »

Posted in Db on 19 Nov 2009 @ 20:30


dbUpdateCommandStatus

Shows the current database update status. More »

Posted in Db on 19 Nov 2009 @ 20:30


dbUpdateCommandUpdate

Attempts to apply outstanding database updates - but only if commit has been set, otherwise runs a test execution of the updates. More »

Posted in Db on 19 Nov 2009 @ 20:30


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


cliCommandHelp

Displays help information for the current cliApplication. Help is formatted to the current set console width. Supports command help e.g. help for more detailed information. This class replaces the previous cliHelp. More »

Posted in Cli on 19 Nov 2009 @ 20:30


cliCommandList

Will list items of the type, where type is defined in the command chain. e.g. list could be for databases, tables or sites or users etc. More »

Posted in Cli on 19 Nov 2009 @ 20:30


cliCommandLog

Sets the log level to either verbose (INFO) or very verbose (DEBUG) allowing applications to be better debugged. Specifying either causes a message of that level to be output to the systemLog. More »

Posted in Cli on 19 Nov 2009 @ 20:30


cliCommandLogToConsole

Adds a systemLogWriterCli object to the systemLog instance allowing all log messages from ALWAYS to current log level to be output on the command line as the application is executing. This is mainly for debugging. Note: if using with cliCommandLog,... More »

Posted in Cli on 19 Nov 2009 @ 20:30


cliCommandNew

Handles the keyword 'new' with a variable number of 'new' 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


cliCommandNull

The null command is used as a place holder when a command is required, but a full class is not needed - e.g. for a long-option that is just a toggle or if you want to specify specific options within another command. More »

Posted in Cli on 19 Nov 2009 @ 20:30


cliCommand

Represents a command to be fired by the CLI application. This class should be extended to implement the execute() method. All commands support command chains - a set of commands that this command can execute (e.g. cliCommandNew). Each commend must re... More »

Posted in Cli on 19 Nov 2009 @ 20:30