コマンドライン インターフェイス

Titaniumコマンドラインインターフェイスリファレンス

Appceleratorコマンドラインインターフェイスリファレンス

インストールされているTitaniumSDKを管理します。

# Titanium CLI
titanium sdk [<subcommand>]
 
# Appcelerator CLI
appc ti sdk [<subcommand>] 

CLIのバージョン

MyFirstApp % appc use
The following versions are available:

5.3.0      Not Installed                           
5.3.1      Not Installed                           
5.4.0      Not Installed                           
5.5.0      Not Installed                           
5.5.1      Not Installed                           
6.0.0      Not Installed                           
6.1.0      Not Installed                           
6.1.2      Not Installed                           
6.1.4      Not Installed                           
6.2.0      Not Installed                           
6.2.1      Not Installed                           
6.2.2      Not Installed                           
6.2.3      Not Installed                           
6.2.4      Not Installed                           
6.3.0      Not Installed                           
6.3.1      Not Installed                           
7.0.0      Not Installed                           
7.0.1      Not Installed                           
7.0.2      Not Installed                           
7.0.3      Not Installed                           
7.0.4      Not Installed                           
7.0.5      Not Installed                           
7.0.6      Not Installed                           
7.0.7      Not Installed                           
7.0.8      Not Installed                           
7.0.9      Not Installed                           
7.0.10     Not Installed                           
7.0.11     Not Installed                           
7.0.12     Not Installed                           
7.1.0      Not Installed                           
7.1.1      Not Installed                           
7.1.2      Not Installed                           
8.0.0      Not Installed                           
8.1.0      Not Installed                           
8.1.1      Not Installed                           
9.0.0      Not Installed                           
9.0.1      Installed (Latest) (Active)             

MyFirstApp % 

SDK list

# Titanium CLI
titanium sdk [--branches] [--releases] [--output <value>]
titanium sdk list [--branches] [--releases] [--output <value>]
 
# Appcelerator CLI
appc ti sdk [--branches] [--releases] [--output <value>]
appc ti sdk list [--branches] [--releases] [--output <value>] 
MyFirstApp % appc ti sdk list
Appcelerator Command-Line Interface, version 9.0.1
Copyright (c) 2014-2022, Appcelerator, Inc.  All Rights Reserved.

SDK Install Locations:
   /Library/Application Support/Titanium
   /Users/misadmin/Library/Application Support/Titanium [default]
 
Installed SDKs:
   10.1.1.GA [selected]  10.1.1.v20211118090922  /Users/misadmin/Library/Application Support/Titanium/mobilesdk/osx/10.1.1.GA
 
MyFirstApp % 

SDK install

# Titanium CLI
# Can only install Titanium SDK 4.0.0.GA and older or UNSTABLE continuous integration builds
titanium sdk install [<version>] [--default] [--force] [--branch <branch name>]
 
# Appcelerator CLI
# Can install any GA Titanium SDK release or UNSTABLE continuous integration build
appc ti sdk install [<version>] [--default] [--force] [--branch <branch name>]
~ % appc ti sdk install 8.0.2.GA
Appcelerator Command-Line Interface, version 9.0.1
Copyright (c) 2014-2022, Appcelerator, Inc.  All Rights Reserved.

Downloading https://github.com/appcelerator/titanium_mobile/releases/download/8_0_2_GA/mobilesdk-8.0.2.GA-osx.zip
  100% [========================================] 0.0s   

Extracting SDK to /Users/misadmin/Library/Application Support/Titanium
   99% [========================================] 

Titanium SDK 8.0.2.GA successfully installed!

  100% [========================================] %                             misadmin@emuaiesunomakkunoMac-mini MyFirstApp % 
~ % 

SDK select

# Titanium CLI
titanium sdk select [<version>]
 
# Appcelerator CLI
appc ti sdk select [<version>]
~ % appc ti sdk list
Appcelerator Command-Line Interface, version 9.0.1
Copyright (c) 2014-2022, Appcelerator, Inc.  All Rights Reserved.

SDK Install Locations:
   /Library/Application Support/Titanium
   /Users/misadmin/Library/Application Support/Titanium [default]
 
Installed SDKs:
   10.1.1.GA [selected]  10.1.1.v20211118090922  /Users/misadmin/Library/Application Support/Titanium/mobilesdk/osx/10.1.1.GA
   8.0.2.GA              8.0.2.v20190617094142   /Users/misadmin/Library/Application Support/Titanium/mobilesdk/osx/8.0.2.GA
 
~ % 
~ % appc ti sdk select 8.0.2.GA 
Appcelerator Command-Line Interface, version 9.0.1
Copyright (c) 2014-2022, Appcelerator, Inc.  All Rights Reserved.

Configuration saved

~ % appc ti sdk list            
Appcelerator Command-Line Interface, version 9.0.1
Copyright (c) 2014-2022, Appcelerator, Inc.  All Rights Reserved.

SDK Install Locations:
    /Library/Application Support/Titanium 
    /Users/misadmin/Library/Application Support/Titanium   [default] 
 
Installed SDKs:
    10.1.1.GA                10.1.1.v20211118090922   /Users/misadmin/Library/Application Support/Titanium/mobilesdk/osx/10.1.1.GA
    8.0.2.GA   [selected]    8.0.2.v20190617094142    /Users/misadmin/Library/Application Support/Titanium/mobilesdk/osx/8.0.2.GA
 
~ %

コメントを残す

メールアドレスが公開されることはありません。

CAPTCHA