Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tidev/titanium-cli-plugin-boilerplate
- Owner: tidev
- Created: 2015-03-04T02:14:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-04-26T05:02:09.000Z (over 2 years ago)
- Last Synced: 2024-07-29T03:15:46.708Z (3 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 11
- Watchers: 52
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
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
```