Appcelerator Blog

The Leading Resource for All Things Mobile

Titanium Command Line Interface (CLI) Specification

0 Flares 0 Flares ×

We have a suite of existing tools for operating from the command line – titanium.py, builder.py, etc. Some of these tools are used for direct user interaction to create, run, package, or distribute projects (titanium.py) while others are designed for meaningful interactions only with an IDE such as Titanium Studio.

Over time, the scope and requirements for these tools have increased significantly so we have decided to evaluate the the structure of the build system itself. We have put together a specification to overhaul the existing build system and make it more extensible. We have also decided to move away from Python based tooling to node.js based tooling. We had a good debate internally about the technology choice and, in the end, it made sense for us to adopt node.js as we are a Java Script platform company. Node.js is young and has few short comings so we will write modules to overcome these limitations and contribute them back to the community.

Please review and provide your feedback (leave it on the wiki page itself) on the specification. We are on a tight deadline so your early feedback is appreciated. We will review and incorporate the feedback by the end of this week.

https://wiki.appcelerator.org/display/community/Titanium+Command+Line+Utility+Specification    

0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 Email -- 0 Flares ×

5 Comments

  1. Philippe

    Anything will be a much welcome improvement, especially if it’s possible to run the ipad simulator without patching builder.py…

  2. Carlos

    I’m not technical enough to be much help on the wiki, but it would be really helpful to have robust exception handling. When the existing Python scripts fail, they sometimes do it silently or don’t tell you what is wrong or misconfigured. It becomes a huge time drain.

  3. @Philippe: you can launch the iPad sim without patching builder.py, see my post on the subject here http://russfrank.us/2012/04/25/how-not-to-use-titanium-studio/

  4. rahdev

    Does titanium.py still exist with Titanium Studio 2.0.1? I can seem to find it. If so, where is it? If not, what should I use as an alternative to build modules from the command line? Thanks

Comments are closed.

Sign up for updates!

Become a mobile leader. Take the first step to scale mobile innovation throughout your enterprise.
Get in touch
computer and tablet showing Appcelerator software
Start free, grow from there.
0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 Email -- 0 Flares ×