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
More From Oodles
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
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.