Titanium Cli Plugins Basics

Posted By : Pawanpreet Singh | 31-Mar-2015

Titanium Cli Plugin

Titanium Cli Plugins provides a way to create new commands for titanium or user can hook previously build commands with functions and events.

Structure:

User has to create Titanium cli plugin using the above shown structure, There are two folders namely commands and hooks. In above fig both contains js files to handle respective tasks and a file package.json which will be plugins configuration file and will contain configurations like name, version, dependencies, etc.

 

Usage

To Make these commands/hooks available globally user has to bind locally with titanium, One can do this typing following commands in terminal.

 

ti config -a paths.commands /*Your current plugin commands folder path*/ 
ti config -a paths.hooks /*Your current plugin hooks folder path*/

 

Thanks

About Author

Author Image
Pawanpreet Singh

Pawanpreet is an seasoned Project Manager with a wealth of knowledge in software development, specializing in frontend and mobile applications. He possesses a strong command of project management tools, including Jira, Trello, and others. With a proven track record, he has successfully overseen the delivery of multiple software development projects, managing budgets and large teams. Notable projects he has contributed to include TimeForge, Yogyata, Kairos, Veto, Inspirien App, and more. Pawanpreet excels in developing and maintaining project plans, schedules, and budgets, ensuring timely delivery while staying within allocated resources. He collaborates closely with clients to define project scope and requirements, establish timelines and milestones, and effectively manage expectations. Regular project status meetings are conducted by him, providing clients and stakeholders with consistent updates on project progress, risks, and issues. Additionally, he coaches and mentors project leads, offering guidance on project management best practices and supporting their professional development.

Request for Proposal

Name is required

Comment is required

Sending message..