Skip to content

Commit

Permalink
updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tonylukasavage committed Apr 3, 2012
1 parent 93a3ecb commit 267cd3d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Expand Up @@ -29,20 +29,20 @@ Install all dependencies for the CLI by running `npm install` at the top level p
* Implement a command module with the following interface:

```javascript
exports.doc = {
command: 'titanium clean', //your command
description: 'Clean the project build directories', //description of what your command does
usage: 'titanium clean [ios,android,mobileweb] [OPTIONS]' //sample usage
};
var logger;

exports.getOptions = function() {
return [
['-p, --path <path>', 'Project path to clean - defaults to current working directory', process.cwd()],
exports.doc = {
command: 'titanium clean',
description: 'Clean the project build directories',
usage: 'titanium clean [ios,android,mobileweb] [OPTIONS]',
options: [
['-p, --path <path>', 'Project path to clean - defaults to current working directory'],
['-v, --verbose', 'Verbose logging output']
];
]
};

exports.execute = function(args,options,logger) {
exports.execute = function(args,options,_logger) {
logger = _logger;
//execute your command. The main driver script will call your function with:

// args & options: the command line arguments passed to the script.
Expand Down

0 comments on commit 267cd3d

Please sign in to comment.