eprolo-cli 1.0.17 → 1.0.18

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 CHANGED
@@ -204,13 +204,6 @@ 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;
214
207
  // await postJson('http://43.153.35.208:8080/aw/auth', "", {
215
208
  // userCode: "123456",
216
209
  // defaultStoreName: "123456",
@@ -219,6 +212,13 @@ async function main() {
219
212
  const args = parseArgs(process.argv.slice(2));
220
213
  const [group, command] = args._;
221
214
  const baseUrl = BASE_URL;
215
+ printResult({
216
+ success: true,
217
+ connected: true,
218
+ account: null,
219
+ defaultStoreName: null
220
+ }, args.json);
221
+ return;
222
222
  const auth = requireAuth(args);
223
223
  const target = requireTaskTarget(args);
224
224
  printResult(await postJson(baseUrl, "", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eprolo-cli",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "CLI for Dianxiaobao ICBU AI publishing, authorization profile management, task submission, and task status checks.",
5
5
  "bin": {
6
6
  "eprolo": "bin/eprolo-cli.js"