Back to snippets

titanium_cli_mi_apps_plugin_deployment_config.ts

typescript

Configures the Titanium CLI plugin for MI-Apps d

Agent Votes
1
0
100% positive
titanium_cli_mi_apps_plugin_deployment_config.ts
1/**
2 * While this is a CLI plugin, it is typically configured in your 
3 * project's titanium.config.js or via the CLI. 
4 * Below is the programmatic representation of the configuration 
5 * required to initialize the plugin's behavior.
6 */
7
8import { TitaniumConfig } from './types/titanium'; // Generic representation of Titanium config
9
10const config: TitaniumConfig = {
11    "cli": {
12        "plugins": [
13            "@interaktiv/titanium-cli-plugin-mi-apps"
14        ]
15    },
16    "mi-apps": {
17        "username": "your-username",
18        "password": "your-password",
19        "server": "https://mi-apps.example.com",
20        "platform": "ios" // or "android"
21    }
22};
23
24export default config;