Skip to content

Commit

Permalink
Merging my repo with the main titanium cli repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi committed Aug 22, 2012
1 parent 57c4724 commit 5956a56
Show file tree
Hide file tree
Showing 147 changed files with 1,904 additions and 10,010 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
._*
.DS_Store
npm-debug.log

node_modules
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.DS_Store
.git*
node_modules
*.sublime-project
*.sublime-workspace
39 changes: 24 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,40 @@
## Overview

[Titanium](https://github.com/appcelerator/titanium) is a [Command Line Tool (CLI)](http://en.wikipedia.org/wiki/Command-line_interface) for managing and deploying Titanium mobile applications and modules. It's open-source and easy to use. [We've](https://github.com/appcelertor) designed `titanium` to be suitable for command line beginners, but still be powerful and extensible enough for production usage.
[Titanium](https://github.com/appcelerator/titanium) is a [Command Line Tool (CLI)](http://en.wikipedia.org/wiki/Command-line_interface)
for managing and deploying Titanium Mobile applications and modules. It's open-source and easy to use. [We've](https://github.com/appcelertor)
designed Titanium to be suitable for command line beginners, but still be powerful and extensible enough for production usage.

`titanium` requires `npm`, the [node package manager](http://npmjs.org).
## Local Installation

## One-line npm install

[sudo] curl http://npmjs.org/install.sh | sh
[sudo] npm install titanium -g

## Bleeding Edge

## One-line titanium install
// do this once
git clone https://github.com/appcelerator/titanium.git

// do this frequently
cd /path/to/titanium
git pull origin master
[sudo] npm install -g .

[sudo] npm install titanium -g
## Commands

<a name="Libraries"></a>
## Libraries
`titanium` is built on a few well developed, well maintained Node.js libraries.
* config - Configure your CLI settings
* help - Displays help or help for a specific command
* login - Logs into the Appcelerator Network
* logout - Logs out of the Appcelerator Network
* sdk - Download and install Titanium SDKs
* status - Check authentication, SDK, and project status
* version - Titanium CLI version

- [npm](http://npmjs.org) - Node Package Manager
- [colors](https://github.com/marak/colors.js) - Terminal Colors module
- [optimist](https://github.com/substack/node-optimist) - CLI Options Parsing
## Usage

titanium <command> [options]

<a name="License"></a>
## License

This project is open source and provided under the Apache Public License (version 2). Please make sure you see the `LICENSE` file
included in this distribution for more details on the license. Also, please take notice of the privacy notice at the end of the file.

#### (C) Copyright 2012, [Appcelerator](http://www.appcelerator.com) Inc. All Rights Reserved.
#### (C) Copyright 2012, [Appcelerator](http://www.appcelerator.com/) Inc. All Rights Reserved.
24 changes: 3 additions & 21 deletions bin/titanium
Original file line number Diff line number Diff line change
@@ -1,22 +1,4 @@
#!/usr/bin/env node

var titanium = require('../lib/titanium');

titanium.start(function (err)
{

process.stdout.on('drain', function () {
// process.exit(err ? 1 : 0);
})

function onexit (code, status) {
if (err) {
process.removeListener('exit', onexit);
process.exit(code);
}
}

process.on('exit', onexit);

});
#!/usr/bin/env node --no-deprecation
// --debug-brk

require('../lib/titanium');
Loading

0 comments on commit 5956a56

Please sign in to comment.