-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging my repo with the main titanium cli repo.
- Loading branch information
Showing
147 changed files
with
1,904 additions
and
10,010 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
._* | ||
.DS_Store | ||
npm-debug.log | ||
|
||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.DS_Store | ||
.git* | ||
node_modules | ||
*.sublime-project | ||
*.sublime-workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
Oops, something went wrong.