Skip to content

srahim/titanium

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Titanium is a Command Line Tool (CLI) for managing and deploying 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.

Installation

[sudo] npm install titanium -g

After npm download and installs the Titanium CLI, then you need to download the latest unstable Titanium Mobile SDK:

titanium sdk install --branch 3_0_X --default

Bleeding Edge

You can download the latest and greatest unstable code by running the following:

[sudo] npm install git://github.com/appcelerator/titanium.git -g

Usage

titanium <command> [options]

Built-in Commands

config

Configure your CLI settings.

Implementation not complete

titanium config <setting> <value>

help

Displays help or help for a specific command.

titanium

titanium help

titanium --help

titanium help <command>

titanium <command> --help

login

Logs into the Appcelerator Network

Implementation not complete

Login requires both user and password options to be passed in.

titanium login <username> <password>

If you omit an option, the CLI will prompt you for the value.

titanium login

logout

Logs out of the Appcelerator Network

Implementation not complete

titanium logout

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.

titanium sdk install

titanium sdk install <version>

titanium sdk install <version> --force

Download, install , and set as default SDK.

titanium sdk install <version> --default

Download and install the latest version for the specified branch

titanium sdk install --branch master

sdk uninstall

Uninstalls a Titanium SDK.

titanium sdk uninstall <version>

sdk list

Lists all installed Titanium SDKs. Optionally lists all branches and releases.

titanium sdk list

titanium sdk list -b
titanium sdk list --branches

titanium sdk list -r
titanium sdk list --releases

titanium sdk list -br
titanium sdk list --branches --releases

sdk update

Checks if there is a new version of the Titanium SDK available.

titanium sdk update

Download and install the latest version.

titanium sdk update --force

Download and install the latest version for the specified branch if not already installed.

titanium sdk update --branch master

status

Checks authentication, SDK, and project status.

Implementation not complete

titanium status

titanium status --dir /path/to/project

version

Displays the current version of the CLI and exits.

titanium version
titanium --version

Looking for the old CLI?

Don't worry, it's still around. You can install it by running:

sudo npm install –g [email protected]

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 Inc. All Rights Reserved.

About

The Titanium Command Line (CLI) project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published