appcd-plugin-titanium-sdk
Titanium SDK services for the Appc Daemon.
SDKs
Listing SDK Install Locations
Returns a list of all directories where Titanium SDKs may be installed. The first path is the default location where new Titanium SDKs are installed to.
appcd;
$ appcd exec /titanium-sdk/latest/sdk/list/locations
Listing Installed Titanium SDKs
Returns a list of installed Titanium SDKs across all installation locations. This endpoint supports subscriptions.
💡 Both
/titanium-sdk/latest/sdk
and/titanium-sdk/latest/sdk/list
forward to/titanium-sdk/latest/sdk/list/installed
.
appcd;
$ appcd exec /titanium-sdk/latest/sdk/list/installed
To listen for changes, pass in the --subscribe
flag:
$ appcd exec /titanium-sdk/latest/sdk/list/installed --subscribe
Listing Titanium SDK GA Releases
Returns a list of all available Titanium SDK releases.
appcd;
$ appcd exec /titanium-sdk/latest/sdk/list/releases
Listing Continuous Integration Branches
Returns a list of CI branches and which one is the default.
appcd;
$ appcd exec /titanium-sdk/latest/sdk/list/ci-branches
Listing Continuous Integration Builds
Returns a hash of CI builds for the master
branch or a specific branch.
appcd; appcd; appcd;
$ appcd exec /titanium-sdk/latest/sdk/list/ci-branches/7_1_X
Installing a Titanium SDK
Installing the latest GA release:
appcd;
$ appcd exec /titanium-sdk/latest/sdk/install
$ appcd exec /titanium-sdk/latest/sdk/install/latest
$ appcd exec /titanium-sdk/latest/sdk/install '{"uri": "latest"}'
Installing a specific GA release:
$ appcd exec /titanium-sdk/latest/sdk/install/7.0.2
$ appcd exec /titanium-sdk/latest/sdk/install '{"uri": "7.0.2"}'
$ appcd exec /titanium-sdk/latest/sdk/install/7.0.2.GA
$ appcd exec /titanium-sdk/latest/sdk/install '{"uri": "7.0.2.GA"}'
Installing an SDK from a remote URL:
$ appcd exec /titanium-sdk/latest/sdk/install '{"uri": "http://builds.appcelerator.com/mobile-releases/7.1.0/mobilesdk-7.1.0.GA-osx.zip"}'
Installing the latest CI build for a given branch:
$ appcd exec /titanium-sdk/latest/sdk/install/master
$ appcd exec /titanium-sdk/latest/sdk/install '{"uri": "master"}'
$ appcd exec /titanium-sdk/latest/sdk/install/7_0_X
$ appcd exec /titanium-sdk/latest/sdk/install '{"uri": "7_0_X"}'
Installing a specific CI build by name or by branch+name:
$ appcd exec /titanium-sdk/latest/sdk/install/7.2.0.v20180403153400
$ appcd exec /titanium-sdk/latest/sdk/install '{"uri": "7.2.0.v20180403153400"}'
$ appcd exec /titanium-sdk/latest/sdk/install/master:7.2.0.v20180403153400
$ appcd exec /titanium-sdk/latest/sdk/install '{"uri": "master:7.2.0.v20180403153400"}'
Installing a specific CI build by git hash:
$ appcd exec /titanium-sdk/latest/sdk/install '{"uri": "f9819892048c1056e4dafde22ccd1d59afae8941"}'
Installing from a local archive:
$ appcd exec /titanium-sdk/latest/sdk/install '{"uri": "/path/to/some/titanium-dist.zip"}'
$ appcd exec /titanium-sdk/latest/sdk/install '{"uri": "file:///path/to/some/titanium-dist.zip"}'
Uninstalling a Titanium SDK
Uninstalls a specific Titanium SDK.
appcd;
appcd;
appcd;
$ appcd exec /titanium-sdk/latest/sdk/uninstall/7.0.0.GA
$ appcd exec /titanium-sdk/latest/sdk/uninstall '{"uri": "7.0.0.GA"}'
$ appcd exec /titanium-sdk/latest/sdk/uninstall '{"uri": "/path/to/7.0.0.GA"}'
Modules
Listing Module Install Locations
Returns a list of all directories where Titanium modules may be installed. The first path is the default location.
appcd;
$ appcd exec /titanium-sdk/latest/modules/list/locations
Listing Installed Titanium Modules
Returns a list of installed Titanium modules across all installation locations. This endpoint supports subscriptions.
💡 Both
/titanium-sdk/latest/modules
and/titanium-sdk/latest/modules/list
forward to/titanium-sdk/latest/modules/list/installed
.
appcd;
$ appcd exec /titanium-sdk/latest/modules/list/installed
To listen for changes, pass in the --subscribe
flag:
$ appcd exec /titanium-sdk/latest/module/list/installed --subscribe
Legal
This project is open source under the Apache Public License v2 and is developed by
Axway, Inc and the community. Please read the LICENSE
file included
in this distribution for more information.