@ms-cloudpack/cli 0.72.70 → 0.72.71

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.
@@ -0,0 +1,4 @@
1
+ import type { CommandInitFunction } from '../../types/CommandInitFunction.js';
2
+ /** Defines the "report" verb. */
3
+ export declare const init: CommandInitFunction;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/report/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAK9E,iCAAiC;AACjC,eAAO,MAAM,IAAI,EAAE,mBAiBlB,CAAC"}
@@ -0,0 +1,19 @@
1
+ const hideSharedOptions = ['cachePath', 'features'];
2
+ /** Defines the "report" verb. */
3
+ export const init = (program) => {
4
+ const infoCommand = program.addSubCommand({
5
+ name: 'report',
6
+ description: 'Report telemetries need to be reported to Cloudpack.',
7
+ usage: '<command>',
8
+ hideSharedOptions,
9
+ });
10
+ infoCommand.addSubCommand({
11
+ name: 'legacy-start',
12
+ description: 'Legacy start telemetry. This is useful to track cloudpack vs legacy start usage.',
13
+ hideSharedOptions,
14
+ getExecutor: () => Promise.resolve({
15
+ execute: () => Promise.resolve({ message: 'Legacy start telemetry reported.' }),
16
+ }),
17
+ });
18
+ };
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/report/index.ts"],"names":[],"mappings":"AAGA,MAAM,iBAAiB,GAA+B,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;AAEhF,iCAAiC;AACjC,MAAM,CAAC,MAAM,IAAI,GAAwB,CAAC,OAAO,EAAE,EAAE;IACnD,MAAM,WAAW,GAAG,OAAO,CAAC,aAAa,CAAC;QACxC,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,sDAAsD;QACnE,KAAK,EAAE,WAAW;QAClB,iBAAiB;KAClB,CAAC,CAAC;IAEH,WAAW,CAAC,aAAa,CAAC;QACxB,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,kFAAkF;QAC/F,iBAAiB;QACjB,WAAW,EAAE,GAAG,EAAE,CAChB,OAAO,CAAC,OAAO,CAAC;YACd,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,kCAAkC,EAAE,CAAC;SAChF,CAAC;KACL,CAAC,CAAC;AACL,CAAC,CAAC","sourcesContent":["import type { CommandInitFunction } from '../../types/CommandInitFunction.js';\nimport type { SharedOptions } from '../../types/SharedOptions.js';\n\nconst hideSharedOptions: Array<keyof SharedOptions> = ['cachePath', 'features'];\n\n/** Defines the \"report\" verb. */\nexport const init: CommandInitFunction = (program) => {\n const infoCommand = program.addSubCommand({\n name: 'report',\n description: 'Report telemetries need to be reported to Cloudpack.',\n usage: '<command>',\n hideSharedOptions,\n });\n\n infoCommand.addSubCommand({\n name: 'legacy-start',\n description: 'Legacy start telemetry. This is useful to track cloudpack vs legacy start usage.',\n hideSharedOptions,\n getExecutor: () =>\n Promise.resolve({\n execute: () => Promise.resolve({ message: 'Legacy start telemetry reported.' }),\n }),\n });\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/cli",
3
- "version": "0.72.70",
3
+ "version": "0.72.71",
4
4
  "description": "The Cloudpack command line interface - a tool for managing fast inner and outer looping in web apps.",
5
5
  "license": "MIT",
6
6
  "type": "module",