rss Tags : cli

PhpStorm Command Tool Config

For those trying out JetBrains PhpStorm 2.0 EAP we've now got a handy Command Line descriptor file for use with the Frameworks and command line options. Read on for how to set it all up. More »

Posted in Documentation on 05 Feb 2011 @ 02:44


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


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


cliApplication

Provides the necessary infra-structure to run a CLI application. This includes command chaining, listeners for handling application events during runtime, signal handling and more. cliApplication can be extended for different application types as is... 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


cliCommandChain

Holds a set of commands to be executed within a command or application. The command chain can only hold one type of command, unless the object properties are different (e.g. different command pattern). // example of setting up command chain $oChain =... More »

Posted in Cli on 19 Nov 2009 @ 20:30