@webos-tools/cli 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +1 -0
- package/.eslintrc.js +52 -0
- package/APIs.js +79 -0
- package/CHANGELOG.md +110 -0
- package/LICENSE +201 -0
- package/README.md +218 -0
- package/bin/ares-config.js +199 -0
- package/bin/ares-device-info.js +30 -0
- package/bin/ares-device.js +219 -0
- package/bin/ares-generate.js +270 -0
- package/bin/ares-inspect.js +179 -0
- package/bin/ares-install.js +223 -0
- package/bin/ares-launch.js +318 -0
- package/bin/ares-log.js +255 -0
- package/bin/ares-novacom.js +223 -0
- package/bin/ares-package.js +336 -0
- package/bin/ares-pull.js +156 -0
- package/bin/ares-push.js +155 -0
- package/bin/ares-server.js +174 -0
- package/bin/ares-setup-device.js +520 -0
- package/bin/ares-shell.js +132 -0
- package/bin/ares.js +166 -0
- package/files/conf/ares.json +49 -0
- package/files/conf/command-service.json +73 -0
- package/files/conf/config.json +22 -0
- package/files/conf/ipk.json +30 -0
- package/files/conf/novacom-devices.json +35 -0
- package/files/conf/query/query-app.json +14 -0
- package/files/conf/query/query-hosted.json +18 -0
- package/files/conf/query/query-package.json +10 -0
- package/files/conf/query/query-service.json +6 -0
- package/files/conf/sdk.json +8 -0
- package/files/conf/template.json +57 -0
- package/files/conf/webos_emul +27 -0
- package/files/conf-base/env/sdk-ose.json +8 -0
- package/files/conf-base/env/sdk-tv.json +8 -0
- package/files/conf-base/profile/config-ose.json +21 -0
- package/files/conf-base/profile/config-tv.json +22 -0
- package/files/conf-base/query/query-app.json +14 -0
- package/files/conf-base/query/query-hosted.json +18 -0
- package/files/conf-base/query/query-package.json +10 -0
- package/files/conf-base/query/query-service.json +6 -0
- package/files/conf-base/template-conf/ose-templates.json +67 -0
- package/files/conf-base/template-conf/tv-sdk-templates.json +57 -0
- package/files/help/ares-config.help +43 -0
- package/files/help/ares-device.help +94 -0
- package/files/help/ares-generate.help +65 -0
- package/files/help/ares-inspect.help +70 -0
- package/files/help/ares-install.help +90 -0
- package/files/help/ares-launch.help +100 -0
- package/files/help/ares-log-pmlogd.help +84 -0
- package/files/help/ares-log.help +101 -0
- package/files/help/ares-novacom.help +68 -0
- package/files/help/ares-package.help +101 -0
- package/files/help/ares-pull.help +38 -0
- package/files/help/ares-push.help +38 -0
- package/files/help/ares-server.help +39 -0
- package/files/help/ares-setup-device.help +75 -0
- package/files/help/ares-shell.help +42 -0
- package/files/help/ares.help +47 -0
- package/files/help/readme.help +23 -0
- package/files/schema/ApplicationDescription.schema +319 -0
- package/files/schema/NovacomDevices.schema +61 -0
- package/files/templates/ose-sdk-templates/appinfo/appinfo.json +10 -0
- package/files/templates/ose-sdk-templates/bootplate-web/index.html +88 -0
- package/files/templates/ose-sdk-templates/hosted-webapp/index.html +14 -0
- package/files/templates/ose-sdk-templates/icon/icon.png +0 -0
- package/files/templates/ose-sdk-templates/js-service/helloclient.js +31 -0
- package/files/templates/ose-sdk-templates/js-service/helloworld_webos_service.js +188 -0
- package/files/templates/ose-sdk-templates/qml-app/main.qml +68 -0
- package/files/templates/ose-sdk-templates/qmlappinfo/appinfo.json +10 -0
- package/files/templates/ose-sdk-templates/serviceinfo/package.json +11 -0
- package/files/templates/ose-sdk-templates/serviceinfo/services.json +8 -0
- package/files/templates/tv-sdk-templates/appinfo/appinfo.json +10 -0
- package/files/templates/tv-sdk-templates/bootplate-web/index.html +58 -0
- package/files/templates/tv-sdk-templates/bootplate-web/webOSTVjs-1.2.4/LICENSE-2.0.txt +202 -0
- package/files/templates/tv-sdk-templates/bootplate-web/webOSTVjs-1.2.4/webOSTV-dev.js +1 -0
- package/files/templates/tv-sdk-templates/bootplate-web/webOSTVjs-1.2.4/webOSTV.js +1 -0
- package/files/templates/tv-sdk-templates/hosted-webapp/index.html +14 -0
- package/files/templates/tv-sdk-templates/js-service/helloworld_service.js +37 -0
- package/files/templates/tv-sdk-templates/packageinfo/packageinfo.json +4 -0
- package/files/templates/tv-sdk-templates/serviceinfo/package.json +11 -0
- package/files/templates/tv-sdk-templates/serviceinfo/services.json +8 -0
- package/files/templates/tv-sdk-templates/webicon/icon.png +0 -0
- package/files/templates/tv-sdk-templates/webicon/largeIcon.png +0 -0
- package/lib/base/ares.html +40 -0
- package/lib/base/cli-appdata.js +289 -0
- package/lib/base/cli-control.js +44 -0
- package/lib/base/common-tools.js +29 -0
- package/lib/base/error-handler.js +265 -0
- package/lib/base/file-watcher.js +155 -0
- package/lib/base/help-format.js +147 -0
- package/lib/base/luna.js +178 -0
- package/lib/base/novacom.js +1191 -0
- package/lib/base/sdkenv.js +59 -0
- package/lib/base/server.js +137 -0
- package/lib/base/setup-device.js +324 -0
- package/lib/base/version-tools.js +79 -0
- package/lib/com.sdk.ares.hostedapp.ipk +0 -0
- package/lib/device.js +1419 -0
- package/lib/generator.js +377 -0
- package/lib/inspect.js +494 -0
- package/lib/install.js +463 -0
- package/lib/launch.js +605 -0
- package/lib/log.js +584 -0
- package/lib/package.js +2129 -0
- package/lib/pull.js +231 -0
- package/lib/pusher.js +210 -0
- package/lib/session.js +74 -0
- package/lib/shell.js +193 -0
- package/lib/tar-filter-pack.js +62 -0
- package/lib/util/copy.js +31 -0
- package/lib/util/createFileName.js +40 -0
- package/lib/util/eof.js +30 -0
- package/lib/util/json.js +63 -0
- package/lib/util/merge.js +14 -0
- package/lib/util/objclone.js +40 -0
- package/lib/util/spinner.js +37 -0
- package/npm-shrinkwrap.json +85 -0
- package/package.json +98 -0
- package/spec/helpers/reporter.js +65 -0
- package/spec/jsSpecs/apiTest/generator.spec.js +372 -0
- package/spec/jsSpecs/apiTest/inspector.spec.js +89 -0
- package/spec/jsSpecs/apiTest/installer.spec.js +67 -0
- package/spec/jsSpecs/apiTest/launcher.spec.js +150 -0
- package/spec/jsSpecs/apiTest/packager.spec.js +194 -0
- package/spec/jsSpecs/apiTest/puller.spec.js +101 -0
- package/spec/jsSpecs/apiTest/pusher.spec.js +103 -0
- package/spec/jsSpecs/apiTest/server.spec.js +115 -0
- package/spec/jsSpecs/apiTest/setupDevice.spec.js +93 -0
- package/spec/jsSpecs/apiTest/shell.spec.js +49 -0
- package/spec/jsSpecs/ares-config.spec.js +78 -0
- package/spec/jsSpecs/ares-device.spec.js +443 -0
- package/spec/jsSpecs/ares-generate.spec.js +397 -0
- package/spec/jsSpecs/ares-inspect.spec.js +252 -0
- package/spec/jsSpecs/ares-install.spec.js +150 -0
- package/spec/jsSpecs/ares-launch.spec.js +301 -0
- package/spec/jsSpecs/ares-log.spec.js +824 -0
- package/spec/jsSpecs/ares-novacom.spec.js +149 -0
- package/spec/jsSpecs/ares-package.spec.js +1211 -0
- package/spec/jsSpecs/ares-pull.spec.js +157 -0
- package/spec/jsSpecs/ares-push.spec.js +146 -0
- package/spec/jsSpecs/ares-server.spec.js +160 -0
- package/spec/jsSpecs/ares-setup-device.spec.js +281 -0
- package/spec/jsSpecs/ares-shell.spec.js +220 -0
- package/spec/jsSpecs/ares.spec.js +83 -0
- package/spec/jsSpecs/common-spec.js +169 -0
- package/spec/support/jasmine.json +22 -0
- package/spec/tempFiles/com.jasmine.native.app_0.0.1_arm.ipk +0 -0
- package/spec/tempFiles/com.jasmine.native.app_0.0.1_x86.ipk +0 -0
- package/spec/tempFiles/com.jasmine.web.app_0.0.1_all.ipk +0 -0
- package/spec/tempFiles/com.logtest.web.app_1.0.0_all.ipk +0 -0
- package/spec/tempFiles/copyFiles/helloFile.txt +1 -0
- package/spec/tempFiles/copyFiles/testFile.txt +1 -0
- package/spec/tempFiles/ipks/com.sample.echo_0.0.1_all.ipk +0 -0
- package/spec/tempFiles/ipks/com.web.app_1.0.0_all.ipk +0 -0
- package/spec/tempFiles/nativeApp/auto/pkg_arm64/GLES2 +0 -0
- package/spec/tempFiles/nativeApp/auto/pkg_arm64/appinfo.json +9 -0
- package/spec/tempFiles/nativeApp/auto/pkg_arm64/icon.png +0 -0
- package/spec/tempFiles/nativeApp/auto/pkg_arm64/largeIcon.png +0 -0
- package/spec/tempFiles/nativeApp/ose/pkg_arm/Hello +0 -0
- package/spec/tempFiles/nativeApp/ose/pkg_arm/appinfo.json +9 -0
- package/spec/tempFiles/nativeApp/ose/pkg_arm/icon.png +0 -0
- package/spec/tempFiles/nativeApp/ose/pkg_arm/largeIcon.png +0 -0
- package/spec/tempFiles/nativeApp/ose/pkg_arm/package.properties +2 -0
- package/spec/tempFiles/nativeApp/oseEmul/pkg_x86/Hello +0 -0
- package/spec/tempFiles/nativeApp/oseEmul/pkg_x86/appinfo.json +9 -0
- package/spec/tempFiles/nativeApp/oseEmul/pkg_x86/icon.png +0 -0
- package/spec/tempFiles/nativeApp/oseEmul/pkg_x86/largeIcon.png +0 -0
- package/spec/tempFiles/nativeApp/rsi/pkg_x86/GLES2 +0 -0
- package/spec/tempFiles/nativeApp/rsi/pkg_x86/appinfo.json +9 -0
- package/spec/tempFiles/nativeApp/rsi/pkg_x86/icon.png +0 -0
- package/spec/tempFiles/nativeApp/rsi/pkg_x86/largeIcon.png +0 -0
- package/spec/tempFiles/sign/sign.crt +32 -0
- package/spec/tempFiles/sign/signPriv.key +52 -0
- package/spec/test_data/ares-generate.json +41 -0
- package/spec/test_data/ares.json +33 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2020-2024 LG Electronics Inc.
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const path = require('path'),
|
|
8
|
+
fs = require('fs'),
|
|
9
|
+
nopt = require('nopt'),
|
|
10
|
+
exec = require('child_process').exec,
|
|
11
|
+
shelljs = require('shelljs');
|
|
12
|
+
|
|
13
|
+
const commonSpec = {};
|
|
14
|
+
const options = {
|
|
15
|
+
profile: "ose",
|
|
16
|
+
device: "emulator",
|
|
17
|
+
ip: "127.0.0.1",
|
|
18
|
+
port: 6622,
|
|
19
|
+
pkgId: "com.jasmine.web.app",
|
|
20
|
+
pkgService: "com.jasmine.web.app.service",
|
|
21
|
+
ipkFile: "com.jasmine.web.app_0.0.1_all.ipk",
|
|
22
|
+
ipkPath: path.join(__dirname, "..", "tempFiles", "com.jasmine.web.app_0.0.1_all.ipk"),
|
|
23
|
+
passPhrase: ""
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
if (typeof module !== 'undefined' && module.exports) {
|
|
27
|
+
module.exports = commonSpec;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const knownOpts = {
|
|
31
|
+
"profile": String,
|
|
32
|
+
"device": String,
|
|
33
|
+
"ip": String,
|
|
34
|
+
"port": String,
|
|
35
|
+
"timeInterval": Number,
|
|
36
|
+
"passPhrase": String
|
|
37
|
+
};
|
|
38
|
+
const shortHands = {
|
|
39
|
+
"p": ["--profile"],
|
|
40
|
+
"d": ["--device"],
|
|
41
|
+
"ip": ["--ip"],
|
|
42
|
+
"port": ["--port"],
|
|
43
|
+
"ti": ["--timeInterval"],
|
|
44
|
+
"pp": ["--passPhrase"]
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
commonSpec.getOptions = function() {
|
|
48
|
+
return new Promise(function(resolve, reject) {
|
|
49
|
+
const argv = nopt(knownOpts, shortHands, process.argv, 2);
|
|
50
|
+
|
|
51
|
+
if (argv.profile) {
|
|
52
|
+
options.profile = argv.profile;
|
|
53
|
+
}
|
|
54
|
+
if (argv.device) {
|
|
55
|
+
options.device = argv.device;
|
|
56
|
+
}
|
|
57
|
+
if (argv.ip) {
|
|
58
|
+
options.ip = argv.ip;
|
|
59
|
+
}
|
|
60
|
+
if (options.device !== "emulator") {
|
|
61
|
+
options.port = argv.port ? argv.port : 22;
|
|
62
|
+
}
|
|
63
|
+
if (argv.timeInterval) {
|
|
64
|
+
jasmine.DEFAULT_TIMEOUT_INTERVAL = argv.timeInterval;
|
|
65
|
+
}
|
|
66
|
+
if (argv.profile === "tv" && !argv.passPhrase) {
|
|
67
|
+
console.error("[Tips] If you want to run a unit test with for tv profile, need the Passphrase value of the device in use.");
|
|
68
|
+
process.exit(1);
|
|
69
|
+
}
|
|
70
|
+
options.passPhrase = argv.passPhrase;
|
|
71
|
+
console.info(`profile : ${options.profile}, device : ${options.device}, ip : ${options.ip}, port : ${options.port}, timeInterval : ${jasmine.DEFAULT_TIMEOUT_INTERVAL}, passPhrase : ${options.passPhrase}`);
|
|
72
|
+
|
|
73
|
+
// set profile
|
|
74
|
+
const cmd = commonSpec.makeCmd('ares-config');
|
|
75
|
+
exec(cmd + ` -p ${options.profile}`, function(error, stdout) {
|
|
76
|
+
if (error) {
|
|
77
|
+
console.error("set config error " + error);
|
|
78
|
+
reject(stdout);
|
|
79
|
+
}
|
|
80
|
+
resolve(options);
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
options.skipTxt = `In case of ${options.profile}, skip this test case`;
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
commonSpec.getExpectedResult = function(aresCmd) {
|
|
88
|
+
return new Promise(function(resolve) {
|
|
89
|
+
try {
|
|
90
|
+
const text = fs.readFileSync(path.join(__dirname, "../test_data", aresCmd + '.json'), 'utf8');
|
|
91
|
+
const resultJson = JSON.parse(text);
|
|
92
|
+
resolve(resultJson[options.profile]);
|
|
93
|
+
} catch(err) {
|
|
94
|
+
console.error(err);
|
|
95
|
+
process.exit(1);
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
commonSpec.resetDeviceList = function() {
|
|
101
|
+
return new Promise(function(resolve, reject) {
|
|
102
|
+
const cmd = commonSpec.makeCmd('ares-setup-device');
|
|
103
|
+
exec(cmd + ' -R', function(error, stdout, stderr) {
|
|
104
|
+
if (!stderr) {
|
|
105
|
+
resolve(true);
|
|
106
|
+
} else {
|
|
107
|
+
reject(error);
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
commonSpec.addDeviceInfo = function() {
|
|
114
|
+
return new Promise(function(resolve, reject) {
|
|
115
|
+
const cmd = commonSpec.makeCmd('ares-setup-device');
|
|
116
|
+
exec(cmd + ` -a ${options.device} -i port=${options.port} -i username=root -i host=${options.ip} -i default=true`,
|
|
117
|
+
function(error, stdout, stderr) {
|
|
118
|
+
if (stderr) {
|
|
119
|
+
reject(stderr);
|
|
120
|
+
} else {
|
|
121
|
+
resolve(stdout);
|
|
122
|
+
if (options.profile === "tv") {
|
|
123
|
+
commonSpec.getKey(options.passPhrase);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
commonSpec.makeCmd = function(cmd) {
|
|
131
|
+
return `node ${path.join('bin', cmd + '.js')}`;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
commonSpec.createOutDir = function(filePath, mode) {
|
|
135
|
+
if (!fs.existsSync(filePath)) {
|
|
136
|
+
shelljs.mkdir(filePath);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
if (mode) {
|
|
140
|
+
fs.chmodSync(filePath, mode);
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
commonSpec.removeOutDir = function(filePath) {
|
|
145
|
+
if (fs.existsSync(filePath)) {
|
|
146
|
+
shelljs.rm('-rf', filePath);
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
commonSpec.detectNodeMessage = function(stderr) {
|
|
151
|
+
if (stderr.includes("node:")) {
|
|
152
|
+
return fail(stderr);
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
// get ssh private key
|
|
157
|
+
commonSpec.getKey = function(passPhrase) {
|
|
158
|
+
return new Promise(function(resolve, reject) {
|
|
159
|
+
const cmd = commonSpec.makeCmd('ares-novacom');
|
|
160
|
+
exec(cmd + ` -k -pass ${passPhrase} -d ${options.device}`,
|
|
161
|
+
function(error, stdout, stderr) {
|
|
162
|
+
if (stderr) {
|
|
163
|
+
reject(stderr);
|
|
164
|
+
} else {
|
|
165
|
+
resolve(stdout);
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec_dir": "spec",
|
|
3
|
+
"spec_files": [
|
|
4
|
+
"jsSpecs/ares-config.spec.js",
|
|
5
|
+
"jsSpecs/ares-generate.spec.js",
|
|
6
|
+
"jsSpecs/ares-inspect.spec.js",
|
|
7
|
+
"jsSpecs/ares-install.spec.js",
|
|
8
|
+
"jsSpecs/ares-launch.spec.js",
|
|
9
|
+
"jsSpecs/ares-package.spec.js",
|
|
10
|
+
"jsSpecs/ares-pull.spec.js",
|
|
11
|
+
"jsSpecs/ares-push.spec.js",
|
|
12
|
+
"jsSpecs/ares-server.spec.js",
|
|
13
|
+
"jsSpecs/ares-setup-device.spec.js",
|
|
14
|
+
"jsSpecs/ares-shell.spec.js",
|
|
15
|
+
"jsSpecs/ares.spec.js",
|
|
16
|
+
"jsSpecs/ares-device.spec.js",
|
|
17
|
+
"jsSpecs/ares-log.spec.js"
|
|
18
|
+
],
|
|
19
|
+
"helpers": [
|
|
20
|
+
"helpers/**/*.js"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
hello... this is jasmine testing second file.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Hi hello... this is jasmine test file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
|
2
|
+
MIIFgTCCA2mgAwIBAgIJAJqAm4XNNsaJMA0GCSqGSIb3DQEBCwU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+YoIOvbjX5EuHYmC+ZRd48eM7Gs3jTaA3
|
|
44
|
+
e2PCsfLr8OffKQzAVMevfz257hA6piWh4RtVAnSnTC2N7nE8PEQSLWumSV3K1Lf1
|
|
45
|
+
hBmo1mj/w8THlRSLcmIB9fdaO+i3qEy8SMDRuj7pb9dzREqXoWMgIZ8SPz4Y3ltd
|
|
46
|
+
1lUCggEALkjKYcBREkoorcCP/CWZYSzQvY6tP2Gx0YZMLbSOemfxuzRILPPVfwoU
|
|
47
|
+
E9Pdo0mFkFibHtHeI94Usl4UoH5FTXnVconea+i8wUKMG+bHNtxFnbRrSKOlqXtF
|
|
48
|
+
9HMJ5k7rF7ZxvGtX8owsl7+y5ftE1OYZwFseHtFvYtzV8FGKsWUSArvwEjkJp4fi
|
|
49
|
+
6X+iWoSHp2rBlJVh17iLhgz7Tu3bpGuv3Xev27L49gtzwTi9UmkwPKxiNam5UweM
|
|
50
|
+
kpaDnE54zC+ukGGOx7zZIhW8guvhHihAWMYfLax5zzNS/aG14fbJO+E3Xo/q9aBP
|
|
51
|
+
AF3ZJ1lRJMS0vOAPpxMYZ8MTAq4qwQ==
|
|
52
|
+
-----END PRIVATE KEY-----
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ose": {
|
|
3
|
+
"list": [
|
|
4
|
+
"ID Project Type Description",
|
|
5
|
+
"------------- --------------- ------------------------------------------",
|
|
6
|
+
"webapp Web App (default) web app for webOS",
|
|
7
|
+
"hosted_webapp Web App hosted web app for webOS",
|
|
8
|
+
"webappinfo Web App Info appinfo.json for web app",
|
|
9
|
+
"js_service JS Service js service for webOS",
|
|
10
|
+
"jsserviceinfo JS Service Info services.json, package.json for JS service",
|
|
11
|
+
"icon Icon app icon files [80x80]",
|
|
12
|
+
"qmlapp QML App QML app for webOS",
|
|
13
|
+
"qmlappinfo QML App Info appinfo.json for QML app"
|
|
14
|
+
],
|
|
15
|
+
"template": {
|
|
16
|
+
"webapp": "webapp",
|
|
17
|
+
"jsservice": "js_service",
|
|
18
|
+
"webappinfo": ["appinfo.json"],
|
|
19
|
+
"qmlapp": "qmlapp",
|
|
20
|
+
"qmlappinfo": "qmlappinfo"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"tv": {
|
|
24
|
+
"list": [
|
|
25
|
+
"ID Project Type Description",
|
|
26
|
+
"------------- --------------- ------------------------------------------",
|
|
27
|
+
"basic Web App (default) basic web app for webOS TV",
|
|
28
|
+
"hosted_webapp Web App hosted web app for webOS TV",
|
|
29
|
+
"webappinfo Web App Info appinfo.json for web app",
|
|
30
|
+
"js_service JS Service js service for webOS TV",
|
|
31
|
+
"jsserviceinfo JS Service Info services.json, package.json for JS service",
|
|
32
|
+
"packageinfo Package Info packageinfo.json for webOS package"
|
|
33
|
+
],
|
|
34
|
+
"template": {
|
|
35
|
+
"webapp": "basic",
|
|
36
|
+
"jsservice": "js_service",
|
|
37
|
+
"webappinfo": ["appinfo.json"],
|
|
38
|
+
"packageinfo": ["packageinfo.json"]
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ose": {
|
|
3
|
+
"list": [
|
|
4
|
+
"ares-config Configure webOS CLI",
|
|
5
|
+
"ares-device Display the device information",
|
|
6
|
+
"ares-generate Generate files for a webOS app or service",
|
|
7
|
+
"ares-inspect Enable Web Inspector or Node's Inspector",
|
|
8
|
+
"ares-install Install or remove the app on the device",
|
|
9
|
+
"ares-launch Launch or close the app",
|
|
10
|
+
"ares-log Show or save logs of webOS apps and services",
|
|
11
|
+
"ares-package Create or analyze a package containing a webOS app or service",
|
|
12
|
+
"ares-pull Pull the file from the device",
|
|
13
|
+
"ares-push Push the file to the device",
|
|
14
|
+
"ares-server Run a local web server",
|
|
15
|
+
"ares-setup-device Add or modify the information of the devices to use",
|
|
16
|
+
"ares-shell Open a device terminal or run a command"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"tv": {
|
|
20
|
+
"list": [
|
|
21
|
+
"ares-config Configure webOS CLI",
|
|
22
|
+
"ares-device Display the device information",
|
|
23
|
+
"ares-generate Generate files for a webOS app or service",
|
|
24
|
+
"ares-inspect Enable Web Inspector or Node's Inspector",
|
|
25
|
+
"ares-install Install or remove the app on the device",
|
|
26
|
+
"ares-launch Launch or close the app",
|
|
27
|
+
"ares-novacom Command Line Tool to control the device",
|
|
28
|
+
"ares-package Create or analyze a package containing a webOS app or service",
|
|
29
|
+
"ares-server Run a local web server",
|
|
30
|
+
"ares-setup-device Add or modify the information of the devices to use"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
}
|