Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tidev/titanium-cli-plugin-boilerplate

Titanium CLI Plugin Boilerplate
https://github.com/tidev/titanium-cli-plugin-boilerplate

Last synced: 3 months ago
JSON representation

Titanium CLI Plugin Boilerplate

Awesome Lists containing this project

README

        

# Titanium CLI Plugin Boilerplate

This is boilerplate for creating a Titanium CLI plugin. You should feel free to
change whatever you want.

## Installation

To always load the plugin, you need to add the `commands` and `hooks` directories
to the Titanium CLI's paths configuration:

```
ti config -a paths.commands /path/to/plugin/commands
ti config -a paths.hooks /path/to/plugin/hooks
```

Alternatively, you may extract the plugin to the global Titanium installation
folder or project directory, then enable it in the `tiapp.xml`:

```


PLUGIN_NAME

```

## package.json

If your Titanium CLI plugin includes Node.js dependencies, then they will be
installed while packaging the plugin for distribution.

## Packaging for Distribution

To package the plugin, run:

```
node build.js
```