@superblocksteam/cli 1.9.3 → 1.12.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.
Files changed (59) hide show
  1. package/LICENSE.txt +87 -0
  2. package/README.md +6 -6
  3. package/assets/custom-components/setup/package.json +1 -1
  4. package/assets/custom-components/setup/tsconfig.json +0 -1
  5. package/assets/injectedReactShim17.jsx +15 -0
  6. package/assets/injectedReactShim18.jsx +16 -0
  7. package/assets/injectedReactShimShared.jsx +140 -0
  8. package/bin/dev +5 -7
  9. package/bin/run +1 -3
  10. package/dist/appendHotReloadEventPlugin.d.mts +2 -0
  11. package/dist/appendHotReloadEventPlugin.mjs +43 -0
  12. package/dist/commands/commits.d.mts +18 -0
  13. package/dist/commands/{commits.js → commits.mjs} +59 -67
  14. package/dist/commands/components/{create.d.ts → create.d.mts} +2 -2
  15. package/dist/commands/components/{create.js → create.mjs} +84 -93
  16. package/dist/commands/components/{register.d.ts → register.d.mts} +1 -1
  17. package/dist/commands/components/register.mjs +12 -0
  18. package/dist/commands/components/{upload.d.ts → upload.d.mts} +2 -2
  19. package/dist/commands/components/{upload.js → upload.mjs} +39 -43
  20. package/dist/commands/components/{watch.d.ts → watch.d.mts} +1 -1
  21. package/dist/commands/components/{watch.js → watch.mjs} +29 -36
  22. package/dist/commands/config/{set.d.ts → set.d.mts} +2 -2
  23. package/dist/commands/config/{set.js → set.mjs} +28 -32
  24. package/dist/commands/{init.d.ts → init.d.mts} +4 -4
  25. package/dist/commands/{init.js → init.mjs} +63 -65
  26. package/dist/commands/{login.d.ts → login.d.mts} +1 -1
  27. package/dist/commands/login.mjs +55 -0
  28. package/dist/commands/{migrate.d.ts → migrate.d.mts} +1 -1
  29. package/dist/commands/{migrate.js → migrate.mjs} +38 -46
  30. package/dist/commands/pull.d.mts +17 -0
  31. package/dist/commands/{pull.js → pull.mjs} +74 -80
  32. package/dist/commands/push.d.mts +15 -0
  33. package/dist/commands/{push.js → push.mjs} +81 -90
  34. package/dist/commands/{rm.d.ts → rm.d.mts} +2 -2
  35. package/dist/commands/{rm.js → rm.mjs} +34 -40
  36. package/dist/common/{authenticated-command.js → authenticated-command.mjs} +65 -75
  37. package/dist/common/defaults/{create-component-defaults.js → create-component-defaults.mjs} +2 -7
  38. package/dist/common/{version-control.d.ts → version-control.d.mts} +13 -6
  39. package/dist/common/version-control.mjs +1064 -0
  40. package/dist/index.js +1 -5
  41. package/dist/productionCssPlugin.d.mts +2 -0
  42. package/dist/productionCssPlugin.mjs +50 -0
  43. package/dist/reactShimPlugin.d.mts +2 -0
  44. package/dist/reactShimPlugin.mjs +127 -0
  45. package/dist/util/migrationWarningsForApplications.mjs +47 -0
  46. package/dist/util/{migrationsForDotfiles.js → migrationsForDotfiles.mjs} +10 -17
  47. package/oclif.manifest.json +274 -161
  48. package/package.json +45 -45
  49. package/dist/commands/commits.d.ts +0 -18
  50. package/dist/commands/components/register.js +0 -15
  51. package/dist/commands/login.js +0 -61
  52. package/dist/commands/pull.d.ts +0 -17
  53. package/dist/commands/push.d.ts +0 -15
  54. package/dist/common/version-control.js +0 -716
  55. package/dist/util/migrationWarningsForApplications.js +0 -52
  56. /package/dist/common/{authenticated-command.d.ts → authenticated-command.d.mts} +0 -0
  57. /package/dist/common/defaults/{create-component-defaults.d.ts → create-component-defaults.d.mts} +0 -0
  58. /package/dist/util/{migrationWarningsForApplications.d.ts → migrationWarningsForApplications.d.mts} +0 -0
  59. /package/dist/util/{migrationsForDotfiles.d.ts → migrationsForDotfiles.d.mts} +0 -0
@@ -1,30 +1,38 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const path_1 = tslib_1.__importDefault(require("path"));
5
- const core_1 = require("@oclif/core");
6
- const css_plugin_1 = require("@superblocksteam/css-plugin");
7
- const react_shim_1 = require("@superblocksteam/react-shim");
8
- const util_1 = require("@superblocksteam/util");
9
- const plugin_react_1 = tslib_1.__importDefault(require("@vitejs/plugin-react"));
10
- const colorette_1 = require("colorette");
11
- const fs = tslib_1.__importStar(require("fs-extra"));
12
- const vite_1 = require("vite");
13
- const authenticated_command_1 = require("../../common/authenticated-command");
14
- class Upload extends authenticated_command_1.AuthenticatedApplicationCommand {
1
+ import path from "path";
2
+ import { Flags, ux } from "@oclif/core";
3
+ import { COMPONENT_EVENT_HEADER, CUSTOM_COMPONENTS_PATH, ComponentEvent, } from "@superblocksteam/util";
4
+ import react from "@vitejs/plugin-react";
5
+ import { bold, green } from "colorette";
6
+ import fs from "fs-extra";
7
+ import { createLogger, build } from "vite";
8
+ import { AuthenticatedApplicationCommand } from "../../common/authenticated-command.mjs";
9
+ import { productionCssPlugin } from "../../productionCssPlugin.mjs";
10
+ import { injectReactVersionsPlugin } from "../../reactShimPlugin.mjs";
11
+ export default class Upload extends AuthenticatedApplicationCommand {
12
+ static description = "Upload creates a production-ready bundle and saves the files for use outside of Local Development mode.";
13
+ static examples = [
14
+ "<%= config.bin %> components upload",
15
+ "<%= config.bin %> components upload -b feature-branch",
16
+ ];
17
+ static flags = {
18
+ branch: Flags.string({
19
+ char: "b",
20
+ description: "Superblocks branch to push to, the current (local) git branch will be used by default",
21
+ }),
22
+ };
15
23
  async run() {
16
24
  const { flags } = await this.parse(Upload);
17
- core_1.ux.action.start("Scanning for Superblocks components...");
18
- const exists = await fs.pathExists(util_1.CUSTOM_COMPONENTS_PATH);
25
+ ux.action.start("Scanning for Superblocks components...");
26
+ const exists = await fs.pathExists(CUSTOM_COMPONENTS_PATH);
19
27
  if (!exists) {
20
- core_1.ux.action.stop();
28
+ ux.action.stop();
21
29
  this.error("No components folder found in current directory, please run 'superblocks components create' first", {
22
30
  exit: 1,
23
31
  });
24
32
  }
25
- const { branchName } = await this.validateApplicationGitSetup(util_1.ComponentEvent.UPLOAD, flags.branch);
33
+ const { branchName } = await this.validateApplicationGitSetup(ComponentEvent.UPLOAD, flags.branch);
26
34
  const headers = {
27
- [util_1.COMPONENT_EVENT_HEADER]: util_1.ComponentEvent.REGISTER,
35
+ [COMPONENT_EVENT_HEADER]: ComponentEvent.REGISTER,
28
36
  };
29
37
  const configs = await this.registerComponents(headers);
30
38
  if (!configs)
@@ -34,13 +42,13 @@ class Upload extends authenticated_command_1.AuthenticatedApplicationCommand {
34
42
  config.name,
35
43
  config.componentPath,
36
44
  ]));
37
- const viteLogger = (0, vite_1.createLogger)();
45
+ const viteLogger = createLogger();
38
46
  viteLogger.info = (message) => {
39
47
  this.log(message);
40
48
  };
41
- core_1.ux.action.start("Building components...");
49
+ ux.action.start("Building components...");
42
50
  await (async () => {
43
- await (0, vite_1.build)({
51
+ await build({
44
52
  configFile: false,
45
53
  build: {
46
54
  rollupOptions: {
@@ -56,9 +64,9 @@ class Upload extends authenticated_command_1.AuthenticatedApplicationCommand {
56
64
  },
57
65
  customLogger: viteLogger,
58
66
  plugins: [
59
- (0, plugin_react_1.default)(),
60
- (0, react_shim_1.injectReactVersionsPlugin)(),
61
- (0, css_plugin_1.productionCssPlugin)(),
67
+ react(),
68
+ injectReactVersionsPlugin(),
69
+ productionCssPlugin(),
62
70
  {
63
71
  name: "remove-node-module-maps",
64
72
  apply: "build",
@@ -71,7 +79,7 @@ class Upload extends authenticated_command_1.AuthenticatedApplicationCommand {
71
79
  ],
72
80
  });
73
81
  })();
74
- core_1.ux.action.stop();
82
+ ux.action.stop();
75
83
  /*
76
84
  1. Build
77
85
  2. Get S3 prefix
@@ -80,7 +88,7 @@ class Upload extends authenticated_command_1.AuthenticatedApplicationCommand {
80
88
  5. Auto-commit DSL
81
89
  */
82
90
  try {
83
- core_1.ux.action.start("Uploading components...");
91
+ ux.action.start("Uploading components...");
84
92
  const fileRelativePaths = [];
85
93
  const excluded = [
86
94
  ".superblocks",
@@ -93,34 +101,22 @@ class Upload extends authenticated_command_1.AuthenticatedApplicationCommand {
93
101
  await walkThroughDirectory(".", fileRelativePaths, excluded);
94
102
  this.log(fileRelativePaths.join("\n"));
95
103
  await this.getSdk().uploadComponents(this.applicationConfig.id, configs, fileRelativePaths, branchName);
96
- core_1.ux.action.stop();
104
+ ux.action.stop();
97
105
  }
98
106
  catch (e) {
99
- core_1.ux.action.stop();
107
+ ux.action.stop();
100
108
  this.error(`Failed to upload components - ${e.message}`, { exit: 1 });
101
109
  }
102
110
  this.log("You can now disable local dev mode and test your production assets");
103
- this.log((0, colorette_1.bold)((0, colorette_1.green)("Once you are done developing please remember to commit your changes in the Superblocks UI.")));
111
+ this.log(bold(green("Once you are done developing please remember to commit your changes in the Superblocks UI.")));
104
112
  }
105
113
  }
106
- Upload.description = "Upload creates a production-ready bundle and saves the files for use outside of Local Development mode.";
107
- Upload.examples = [
108
- "<%= config.bin %> components upload",
109
- "<%= config.bin %> components upload -b feature-branch",
110
- ];
111
- Upload.flags = {
112
- branch: core_1.Flags.string({
113
- char: "b",
114
- description: "Superblocks branch to push to, the current (local) git branch will be used by default",
115
- }),
116
- };
117
- exports.default = Upload;
118
114
  async function walkThroughDirectory(directory, mutableFiles, excluded) {
119
115
  const files = await fs.readdir(directory);
120
116
  for (const file of files) {
121
117
  if (excluded.includes(file))
122
118
  continue;
123
- const absolute = path_1.default.join(directory, file);
119
+ const absolute = path.join(directory, file);
124
120
  if ((await fs.stat(absolute)).isDirectory()) {
125
121
  await walkThroughDirectory(absolute, mutableFiles, excluded);
126
122
  }
@@ -1,5 +1,5 @@
1
1
  import { Plugin } from "vite";
2
- import { AuthenticatedApplicationCommand } from "../../common/authenticated-command";
2
+ import { AuthenticatedApplicationCommand } from "../../common/authenticated-command.mjs";
3
3
  export declare function healthEndpointMiddleware(getBranch: () => Promise<string | null>): Plugin;
4
4
  export default class Watch extends AuthenticatedApplicationCommand {
5
5
  static description: string;
@@ -1,16 +1,12 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.healthEndpointMiddleware = void 0;
4
- const tslib_1 = require("tslib");
5
- const react_shim_1 = require("@superblocksteam/react-shim");
6
- const util_1 = require("@superblocksteam/util");
7
- const vite_custom_component_reload_plugin_1 = require("@superblocksteam/vite-custom-component-reload-plugin");
8
- const plugin_react_1 = tslib_1.__importDefault(require("@vitejs/plugin-react"));
9
- const colorette_1 = require("colorette");
10
- const vite_1 = require("vite");
11
- const authenticated_command_1 = require("../../common/authenticated-command");
12
- const version_control_1 = require("../../common/version-control");
13
- function healthEndpointMiddleware(getBranch) {
1
+ import { COMPONENT_EVENT_HEADER, ComponentEvent } from "@superblocksteam/util";
2
+ import react from "@vitejs/plugin-react";
3
+ import { bold, green, yellow, red, magenta } from "colorette";
4
+ import { createLogger, createServer } from "vite";
5
+ import { appendHotReloadEventPlugin } from "../../appendHotReloadEventPlugin.mjs";
6
+ import { AuthenticatedApplicationCommand } from "../../common/authenticated-command.mjs";
7
+ import { getCurrentGitBranchIfGit } from "../../common/version-control.mjs";
8
+ import { injectReactVersionsPlugin } from "../../reactShimPlugin.mjs";
9
+ export function healthEndpointMiddleware(getBranch) {
14
10
  return {
15
11
  name: "health-endpoint-middleware",
16
12
  configureServer: (server) => {
@@ -33,18 +29,18 @@ function healthEndpointMiddleware(getBranch) {
33
29
  },
34
30
  };
35
31
  }
36
- exports.healthEndpointMiddleware = healthEndpointMiddleware;
37
- class Watch extends authenticated_command_1.AuthenticatedApplicationCommand {
32
+ export default class Watch extends AuthenticatedApplicationCommand {
33
+ static description = "watch for changes to your custom components";
38
34
  async run() {
39
35
  const headers = {
40
- [util_1.COMPONENT_EVENT_HEADER]: util_1.ComponentEvent.REGISTER,
36
+ [COMPONENT_EVENT_HEADER]: ComponentEvent.REGISTER,
41
37
  };
42
38
  await this.registerComponents(headers);
43
- this.log((0, colorette_1.yellow)("Remember to refresh your application to see any newly registered components."));
39
+ this.log(yellow("Remember to refresh your application to see any newly registered components."));
44
40
  this.log();
45
41
  const editModeUrl = new URL(await this.getEditModeUrl());
46
42
  editModeUrl.searchParams.set("devMode", "true");
47
- const { branchName, localBranchName } = await this.validateApplicationGitSetup(util_1.ComponentEvent.REGISTER);
43
+ const { branchName, localBranchName } = await this.validateApplicationGitSetup(ComponentEvent.REGISTER);
48
44
  if (branchName) {
49
45
  editModeUrl.searchParams.set("branch", branchName);
50
46
  }
@@ -54,9 +50,9 @@ class Watch extends authenticated_command_1.AuthenticatedApplicationCommand {
54
50
  const getBranch = async () => {
55
51
  let curLocalBranchName;
56
52
  try {
57
- curLocalBranchName = await (0, version_control_1.getCurrentGitBranchIfGit)();
53
+ curLocalBranchName = await getCurrentGitBranchIfGit();
58
54
  }
59
- catch (e) {
55
+ catch {
60
56
  curLocalBranchName = null;
61
57
  }
62
58
  if (curLocalBranchName === lastLocalBranchName) {
@@ -65,30 +61,29 @@ class Watch extends authenticated_command_1.AuthenticatedApplicationCommand {
65
61
  }
66
62
  else {
67
63
  // the quick check indicates that the branch has changed, so we need to make an API call to validate the new branch
68
- const { branchName, localBranchName } = await this.validateApplicationGitSetup(util_1.ComponentEvent.REGISTER);
64
+ const { branchName, localBranchName } = await this.validateApplicationGitSetup(ComponentEvent.REGISTER);
69
65
  lastBranchName = branchName;
70
66
  lastLocalBranchName = localBranchName;
71
67
  return branchName;
72
68
  }
73
69
  };
74
70
  const port = 3002;
75
- const viteLogger = (0, vite_1.createLogger)();
71
+ const viteLogger = createLogger();
76
72
  viteLogger.info = (message) => {
77
73
  this.log(message);
78
74
  };
79
75
  viteLogger.warn = (msg) => {
80
- this.log((0, colorette_1.yellow)(msg));
76
+ this.log(yellow(msg));
81
77
  };
82
78
  viteLogger.warnOnce = (msg) => {
83
- this.log((0, colorette_1.yellow)(msg));
79
+ this.log(yellow(msg));
84
80
  };
85
81
  viteLogger.error = (msg) => {
86
- this.log((0, colorette_1.red)(msg));
82
+ this.log(red(msg));
87
83
  };
88
- // eslint-disable-next-line @typescript-eslint/no-empty-function
89
84
  viteLogger.clearScreen = () => { };
90
85
  await (async () => {
91
- const server = await (0, vite_1.createServer)({
86
+ const server = await createServer({
92
87
  configFile: false,
93
88
  base: `http://localhost:${port}`,
94
89
  server: {
@@ -101,20 +96,18 @@ class Watch extends authenticated_command_1.AuthenticatedApplicationCommand {
101
96
  customLogger: viteLogger,
102
97
  plugins: [
103
98
  healthEndpointMiddleware(getBranch),
104
- (0, plugin_react_1.default)(),
105
- (0, vite_custom_component_reload_plugin_1.appendHotReloadEventPlugin)(getBranch),
106
- (0, react_shim_1.injectReactVersionsPlugin)(),
99
+ react(),
100
+ appendHotReloadEventPlugin(getBranch),
101
+ injectReactVersionsPlugin(),
107
102
  ],
108
103
  });
109
104
  await server.listen();
110
- this.log((0, colorette_1.green)(`Local server started at port ${port}`));
111
- this.log((0, colorette_1.green)(`Visit your application at:`));
105
+ this.log(green(`Local server started at port ${port}`));
106
+ this.log(green(`Visit your application at:`));
112
107
  this.log();
113
- this.log((0, colorette_1.bold)((0, colorette_1.magenta)(editModeUrl.href)));
108
+ this.log(bold(magenta(editModeUrl.href)));
114
109
  this.log();
115
- this.log((0, colorette_1.yellow)(`Please ensure that Local Dev Mode is enabled in your Application so that the component is fetched from your local dev server. Learn more about Local Dev Mode here: ${(0, colorette_1.magenta)("https://docs.superblocks.com/applications/custom-components/development-lifecycle#local-development-mode")}`));
110
+ this.log(yellow(`Please ensure that Local Dev Mode is enabled in your Application so that the component is fetched from your local dev server. Learn more about Local Dev Mode here: ${magenta("https://docs.superblocks.com/applications/custom-components/development-lifecycle#local-development-mode")}`));
116
111
  })();
117
112
  }
118
113
  }
119
- Watch.description = "watch for changes to your custom components";
120
- exports.default = Watch;
@@ -3,8 +3,8 @@ export default class SetSuperblocksConfig extends Command {
3
3
  static description: string;
4
4
  static examples: string[];
5
5
  static args: {
6
- property: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
7
- value: import("@oclif/core/lib/interfaces/parser").Arg<string, Record<string, unknown>>;
6
+ property: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
7
+ value: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
8
8
  };
9
9
  run(): Promise<void>;
10
10
  validateDomain(domain: string): Promise<void>;
@@ -1,11 +1,24 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const dns_1 = tslib_1.__importDefault(require("dns"));
5
- const util_1 = require("util");
6
- const core_1 = require("@oclif/core");
7
- const util_2 = require("@superblocksteam/util");
8
- class SetSuperblocksConfig extends core_1.Command {
1
+ import dns from "dns";
2
+ import { promisify } from "util";
3
+ import { Args, Command } from "@oclif/core";
4
+ import { getLocalTokenWithUrlIfExists, saveApiToken, } from "@superblocksteam/util";
5
+ export default class SetSuperblocksConfig extends Command {
6
+ static description = "Sets the specified property in your Superblocks configuration. A property governs the behavior of the Superblocks CLI, such as Superblocks region to interact with";
7
+ static examples = [
8
+ "<%= config.bin %> <%= command.id %> domain eu.superblocks.com",
9
+ "<%= config.bin %> <%= command.id %> domain app.superblocks.com",
10
+ ];
11
+ static args = {
12
+ property: Args.string({
13
+ description: "Superblocks config name, e.g. domain",
14
+ options: ["domain"],
15
+ required: true,
16
+ }),
17
+ value: Args.string({
18
+ description: "Superblocks config value",
19
+ required: true,
20
+ }),
21
+ };
9
22
  async run() {
10
23
  const { args } = await this.parse(SetSuperblocksConfig);
11
24
  try {
@@ -14,26 +27,26 @@ class SetSuperblocksConfig extends core_1.Command {
14
27
  const newDomain = args.value;
15
28
  const newSuperblocksBaseUrl = `https://${newDomain}/`;
16
29
  await this.validateDomain(newDomain);
17
- const result = await (0, util_2.getLocalTokenWithUrlIfExists)();
30
+ const result = await getLocalTokenWithUrlIfExists();
18
31
  if (result) {
19
32
  if (!("token" in result)) {
20
33
  // domain only, no token
21
- await (0, util_2.saveApiToken)(newSuperblocksBaseUrl);
34
+ await saveApiToken(newSuperblocksBaseUrl);
22
35
  break;
23
36
  }
24
37
  // existing token with domain
25
38
  const { token, superblocksBaseUrl } = result;
26
39
  const tokenToSave = newSuperblocksBaseUrl === superblocksBaseUrl ? token : undefined;
27
40
  if (tokenToSave) {
28
- await (0, util_2.saveApiToken)(newSuperblocksBaseUrl, tokenToSave);
41
+ await saveApiToken(newSuperblocksBaseUrl, tokenToSave);
29
42
  }
30
43
  else {
31
- await (0, util_2.saveApiToken)(newSuperblocksBaseUrl);
44
+ await saveApiToken(newSuperblocksBaseUrl);
32
45
  }
33
46
  }
34
47
  else {
35
48
  // no existing token
36
- await (0, util_2.saveApiToken)(newSuperblocksBaseUrl);
49
+ await saveApiToken(newSuperblocksBaseUrl);
37
50
  }
38
51
  break;
39
52
  }
@@ -51,29 +64,12 @@ class SetSuperblocksConfig extends core_1.Command {
51
64
  if (!domainRegex.test(domain)) {
52
65
  throw new Error(errorMessage);
53
66
  }
54
- const lookup = (0, util_1.promisify)(dns_1.default.lookup);
67
+ const lookup = promisify(dns.lookup);
55
68
  try {
56
69
  await lookup(domain);
57
70
  }
58
- catch (error) {
71
+ catch {
59
72
  throw new Error(errorMessage);
60
73
  }
61
74
  }
62
75
  }
63
- SetSuperblocksConfig.description = "Sets the specified property in your Superblocks configuration. A property governs the behavior of the Superblocks CLI, such as Superblocks region to interact with";
64
- SetSuperblocksConfig.examples = [
65
- "<%= config.bin %> <%= command.id %> domain eu.superblocks.com",
66
- "<%= config.bin %> <%= command.id %> domain app.superblocks.com",
67
- ];
68
- SetSuperblocksConfig.args = {
69
- property: core_1.Args.string({
70
- description: "Superblocks config name, e.g. domain",
71
- options: ["domain"],
72
- required: true,
73
- }),
74
- value: core_1.Args.string({
75
- description: "Superblocks config value",
76
- required: true,
77
- }),
78
- };
79
- exports.default = SetSuperblocksConfig;
@@ -1,13 +1,13 @@
1
- import { AuthenticatedCommand } from "../common/authenticated-command";
1
+ import { AuthenticatedCommand } from "../common/authenticated-command.mjs";
2
2
  export default class Initialize extends AuthenticatedCommand {
3
3
  static description: string;
4
4
  static examples: string[];
5
5
  static flags: {
6
- mode: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
7
- "skip-signing-verification": import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
6
+ mode: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
+ "skip-signing-verification": import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
8
  };
9
9
  static args: {
10
- resource_url: import("@oclif/core/lib/interfaces/parser").Arg<string | undefined, Record<string, unknown>>;
10
+ resource_url: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
11
11
  };
12
12
  run(): Promise<void>;
13
13
  private createTasks;