0.1.3 • Published 10 years ago
timodules v0.1.3
timodules
Handy Titanium SDK module commands
Install
sudo npm install -g timodulesCLI Commamnds
timodules
Returns the current modules in JSON format:
$ timodules
[{"name":"yy.androidalaw","platform":"android","version":"0.1"}]timodules set
Can be used to set the modules used in the application:
- space to select/deselect
- return to commit changes
- ctrl-c to exit/abort
NOTE requires the titnanium cli to be installed (sudo npm install -g titanium)

Public API
getCurrent
getCurrent(path, callback);
pathto begin search for tiapp.xmlcallbackreturns to argumentserr- error messageres- object with:current- list of modules used in the current app ( {name, platform, version} );path- path wheretiapp.xmlwas found
list
list(path, callback);
pathto begin search for tiapp.xmlcallbackreturns to argumentserr- error messageres- object with:current- list of modules used in the current app ( {name, platform, version} );path- path wheretiapp.xmlwas foundmodules- list of available modules ( {name, platform, version, scope} );