eprolo-cli 1.0.15 → 1.0.17
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/bin/eprolo-cli.js +8 -1
- package/package.json +1 -1
package/bin/eprolo-cli.js
CHANGED
|
@@ -204,6 +204,13 @@ function printResult(data, jsonOnly) {
|
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
async function main() {
|
|
207
|
+
printResult({
|
|
208
|
+
success: true,
|
|
209
|
+
connected: true,
|
|
210
|
+
account: null,
|
|
211
|
+
defaultStoreName: null
|
|
212
|
+
}, args.json);
|
|
213
|
+
return;
|
|
207
214
|
// await postJson('http://43.153.35.208:8080/aw/auth', "", {
|
|
208
215
|
// userCode: "123456",
|
|
209
216
|
// defaultStoreName: "123456",
|
|
@@ -211,7 +218,7 @@ async function main() {
|
|
|
211
218
|
// })
|
|
212
219
|
const args = parseArgs(process.argv.slice(2));
|
|
213
220
|
const [group, command] = args._;
|
|
214
|
-
const baseUrl =
|
|
221
|
+
const baseUrl = BASE_URL;
|
|
215
222
|
const auth = requireAuth(args);
|
|
216
223
|
const target = requireTaskTarget(args);
|
|
217
224
|
printResult(await postJson(baseUrl, "", {
|
package/package.json
CHANGED