-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.ts
50 lines (40 loc) · 1.19 KB
/
application.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/// <reference path="tds/node.d.ts" />
export const PUG_DATA = require("./ejoptions.json");
const pkg = require('./package.json');
export const INSTALLED_LOCATION = __dirname;
export const EJ_VERSION = pkg.version;
export const PRO_BAT = "project.bat";
export const EJ_LOCATION = "C:\\Program Files (x86)\\Syncfusion\\Essential Studio\\";
export const PUG_OPTIONS:{[x:string]: any } = {
"pretty": true,
"cache": true,
"debug": false,
"compileDebug": false
}
export const EJ_SWITCHES_HELP :{[x:string]: any } = {
"-v": "Returns version",
"-c": "Create project with given name",
"-ev": "Specifies the Essential Studio version to be used"
}
export const EJ_SWITCHES :EJ_SWITCHES_Interface = {
version :"-v",
create :"-c",
ejversion :"-ev",
esversion: "-ejversion",
listcontrols:"-ls"
}
interface EJ_SWITCHES_Interface{
create: string;
version: string;
ejversion: string;
esversion: string;
listcontrols: string;
}
export interface Args {
version: string;
createEmpty: boolean;
controList: Array<string>;
projectName: string;
ejVersion: string;
getEjVersion: boolean;
}