titanium / 3.4.0 last updated 4 months ago created on Feb 9th 2012
Install
npm install --save titanium
Clone
git clone git@github.com:appcelerator/titanium.git
dependencies
show all 104
| main |
|
optimist | 0.6.1 | MIT |
|
|
async | 0.2.10 | MIT | |
|
|
humanize | 0.0.9 | MIT | |
|
|
jade | 0.35.0 | MIT | |
|
|
longjohn | 0.2.4 | MIT |
maintainers
versions
98 total
| 3.4.0 | 4 months ago | cb1kenobi |
| 3.4.0-rc4 | 4 months ago | cb1kenobi |
| 3.4.0-rc3 | 4 months ago | cb1kenobi |
| 3.4.0-rc2 | 4 months ago | cb1kenobi |
| 3.4.0-rc | 4 months ago | cb1kenobi |
| 3.4.0-beta | 4 months ago | pinnamur |
| 3.3.0 | 6 months ago | cb1kenobi |
| 3.3.0-rc4 | 7 months ago | cb1kenobi |
| 3.3.0-rc3 | 7 months ago | cb1kenobi |
| 3.3.0-rc2 | 7 months ago | cb1kenobi |
| 3.3.0-rc | 7 months ago | cb1kenobi |
| 3.3.0-beta3 | 7 months ago | cb1kenobi |
| 3.3.0-beta2 | 8 months ago | cb1kenobi |
| 3.3.0-beta | 8 months ago | cb1kenobi |
| 3.3.0-alpha5 | 8 months ago | cb1kenobi |
| 3.3.0-alpha4 | 8 months ago | cb1kenobi |
| 3.3.0-alpha3 | 8 months ago | cb1kenobi |
| 3.3.0-alpha2 | 8 months ago | cb1kenobi |
| 3.3.0-alpha | 8 months ago | cb1kenobi |
| 3.2.3 | 8 months ago | appcelerator |
| 3.2.3-rc | 9 months ago | cb1kenobi |
| 3.2.3-beta2 | 9 months ago | cb1kenobi |
| 3.2.3-beta | 9 months ago | cb1kenobi |
| 3.2.3-alpha3 | 9 months ago | cb1kenobi |
| 3.2.3-alpha2 | 10 months ago | cb1kenobi |
| 3.2.3-alpha | 10 months ago | cb1kenobi |
| 3.2.1 | a year ago | tonylukasavage |
| 3.2.1-beta5 | a year ago | cb1kenobi |
| 3.2.1-beta4 | a year ago | cb1kenobi |
| 3.2.1-beta3 | a year ago | cb1kenobi |
| 3.2.1-beta2 | a year ago | cb1kenobi |
| 3.2.1-beta | a year ago | cb1kenobi |
| 3.2.0 | a year ago | cb1kenobi |
| 3.2.0-cr4 | a year ago | cb1kenobi |
| 3.2.0-cr3 | a year ago | cb1kenobi |
| 3.2.0-cr2 | a year ago | cb1kenobi |
| 3.2.0-cr | a year ago | cb1kenobi |
| 3.2.0-beta | a year ago | cb1kenobi |
| 3.2.0-alpha3 | a year ago | cb1kenobi |
| 3.2.0-alpha2 | a year ago | cb1kenobi |
| 3.2.0-alpha | a year ago | nebrius |
| 3.1.4 | a year ago | cb1kenobi |
| 3.1.2 | a year ago | nebrius |
| 3.1.2-alpha | a year ago | cb1kenobi |
| 3.1.1 | 2 years ago | nebrius |
| 3.1.1-cr | 2 years ago | nebrius |
| 3.1.1-alpha | 2 years ago | nebrius |
| 3.1.0 | 2 years ago | cb1kenobi |
| 3.1.0-cr | 2 years ago | cb1kenobi |
| 3.1.0-beta | 2 years ago | cb1kenobi |
| 3.0.25-alpha | 2 years ago | nebrius |
| 3.0.24 | 2 years ago | cb1kenobi |
| 3.0.24-cr | 2 years ago | nebrius |
| 3.0.23 | 2 years ago | cb1kenobi |
| 3.0.22 | 2 years ago | cb1kenobi |
| 3.0.21 | 2 years ago | cb1kenobi |
| 3.0.20 | 2 years ago | cb1kenobi |
| 3.0.19 | 2 years ago | cb1kenobi |
| 3.0.18 | 2 years ago | cb1kenobi |
| 3.0.17 | 2 years ago | cb1kenobi |
| 3.0.16 | 2 years ago | cb1kenobi |
| 3.0.15 | 2 years ago | cb1kenobi |
| 3.0.14 | 2 years ago | cb1kenobi |
| 3.0.13 | 2 years ago | cb1kenobi |
| 3.0.12 | 2 years ago | cb1kenobi |
| 3.0.11 | 2 years ago | cb1kenobi |
| 3.0.10 | 2 years ago | cb1kenobi |
| 3.0.9 | 2 years ago | cb1kenobi |
| 3.0.8 | 2 years ago | cb1kenobi |
| 3.0.7 | 2 years ago | cb1kenobi |
| 3.0.6 | 2 years ago | cb1kenobi |
| 3.0.5 | 2 years ago | cb1kenobi |
| 3.0.4 | 2 years ago | cb1kenobi |
| 3.0.3 | 2 years ago | cb1kenobi |
| 3.0.2 | 2 years ago | cb1kenobi |
| 3.0.1 | 2 years ago | cb1kenobi |
| 3.0.0 | 2 years ago | cb1kenobi |
| 0.0.26 | 2 years ago | tonylukasavage |
| 0.0.25 | 3 years ago | tonylukasavage |
| 0.0.23 | 3 years ago | tonylukasavage |
| 0.0.22 | 3 years ago | tonylukasavage |
| 0.0.21 | 3 years ago | tonylukasavage |
| 0.0.20 | 3 years ago | tonylukasavage |
| 0.0.19 | 3 years ago | tonylukasavage |
| 0.0.18 | 3 years ago | tonylukasavage |
| 0.0.17 | 3 years ago | tonylukasavage |
| 0.0.16 | 3 years ago | tonylukasavage |
| 0.0.15 | 3 years ago | tonylukasavage |
| 0.0.14 | 3 years ago | tonylukasavage |
| 0.0.13 | 3 years ago | tonylukasavage |
| 0.0.11 | 3 years ago | tonylukasavage |
| 0.0.10 | 3 years ago | tonylukasavage |
| 0.0.8 | 3 years ago | tonylukasavage |
| 0.0.6 | 3 years ago | tonylukasavage |
| 0.0.4 | 3 years ago | mindhacker |
| 0.0.3 | 3 years ago | kwhinnery |
| 0.0.2 | 3 years ago | mindhacker |
| 0.0.1 | 3 years ago | mindhacker |
readme
Overview 
Titanium CLI is a Command Line Tool for creating and building Titanium Mobile applications and modules. It's open-source and easy to use. We've designed Titanium to be suitable for command line beginners, but still be powerful and extensible enough for production usage.
Prerequisites
The Titanium CLI requires Node.js 0.8.x. You can download Node.js 0.10.x, but only Titanium SDK 3.1.0 and later will work.
Installation
Bleeding Edge
You can download the latest and greatest unstable Titanium CLI code by running the following:
Obtaining a Titanium SDK
You will need to download a Titanium SDK 3.0 or newer:
There are times when the latest stable release has an issue or lacks a feature in which case you may want to try an unstable Titanium SDK build. These builds are not recommended for production use, but should work for development.
Setting up the Titanium CLI
Before you begin using the Titanium CLI, you should configure it by running the "setup" command:
It will prompt you with a number of questions such as your e-mail address (for logging into the Appcelerator Network), the location of your Android SDK, and so on.
Usage
Built-in Commands
config
Configure your CLI settings.
Implementation not complete
help
Displays help or help for a specific command.
login
Logs into the Appcelerator Network
Implementation not complete
Login requires both user and password options to be passed in.
If you omit an option, the CLI will prompt you for the value.
logout
Logs out of the Appcelerator Network
Implementation not complete
sdk
Download and install Titanium SDKs
sdk install
Installs a specific version of the Titanium SDK. If no version is specified, it assumes the latest.
Download, install , and set as default SDK.
Download and install the latest version for the specified branch
sdk uninstall
Uninstalls a Titanium SDK.
sdk list
Lists all installed Titanium SDKs. Optionally lists all branches and releases.
sdk update
Checks if there is a new version of the Titanium SDK available.
Download and install the latest version.
Download and install the latest version for the specified branch if not already installed.
setup
Reconfigures the Titanium CLI by asking you a series of questions.
status
Indicates whether you are logged in or not.
version
Displays the current version of the CLI and exits.
info
Displays information about your development environment including Xcode installs, iOS SDKs, Android SDKs, and so on.
Hacking the Titanium CLI
In order to begin hacking on the Titanium CLI, you need to download and install git.
If you have already installed a previous version of the Titanium CLI, it's recommended you uninstall the old one first:
The Titanium CLI is essentially pure JavaScript, so there is no build process. You just need to pull the code and resolve the dependendencies.
Running Unit Tests
To run the unit tests, simply run:
Running Code Coverage
To generate the code coverage, you first must install node-jscoverage. The easist way to do this is run:
Then run:
It will generate a file called coverage.html in the Titanium CLI directory.
Looking for the really old CLI?
Don't worry, it's still around. You can install it by running:
Contributing
Titanium is an open source project. Titanium wouldn't be where it is now without contributions by the community. Please consider forking this repo to improve, enhance or fix issues. If you feel like the community will benefit from your fork, please open a pull request.
To protect the interests of the Titanium contributors, Appcelerator, customers and end users we require contributors to sign a Contributors License Agreement (CLA) before we pull the changes into the main repository. Our CLA is simple and straightforward - it requires that the contributions you make to any Appcelerator open source project are properly licensed and that you have the legal authority to make those changes. This helps us significantly reduce future legal risk for everyone involved. It is easy, helps everyone, takes only a few minutes, and only needs to be completed once.
You can digitally sign the CLA online. Please indicate your e-mail address in your first pull request so that we can make sure that will locate your CLA. Once you've submitted it, you no longer need to send one for subsequent submissions.
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.
