@ganakailabs/cloudeval-cli 0.30.0 → 0.30.1
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/dist/{App-FK5FKLOM.js → App-IRVY4LSK.js} +2 -2
- package/dist/{Banner-XDSXKCKM.js → Banner-4PWF5O3B.js} +2 -2
- package/dist/{chunk-LWKMLKKE.js → chunk-P5JXFRYX.js} +1 -1
- package/dist/{chunk-C5GOTWYL.js → chunk-STE265DV.js} +1 -1
- package/dist/cli.js +11 -7
- package/package.json +1 -1
- package/sbom.spdx.json +1 -1
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
} from "./chunk-NXM4JEOB.js";
|
|
39
39
|
import {
|
|
40
40
|
Banner
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-P5JXFRYX.js";
|
|
42
42
|
import {
|
|
43
43
|
CLI_VERSION
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-STE265DV.js";
|
|
45
45
|
import {
|
|
46
46
|
raisedButtonStyle,
|
|
47
47
|
terminalTheme
|
package/dist/cli.js
CHANGED
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-NXM4JEOB.js";
|
|
40
40
|
import {
|
|
41
41
|
CLI_VERSION
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-STE265DV.js";
|
|
43
43
|
|
|
44
44
|
// src/runtime/prepareInk.ts
|
|
45
45
|
import fs from "fs";
|
|
@@ -1807,7 +1807,7 @@ var outputFormats = [
|
|
|
1807
1807
|
"markdown",
|
|
1808
1808
|
"table"
|
|
1809
1809
|
];
|
|
1810
|
-
var addCommonOptions = (command, defaultBaseUrl) => command.option("--base-url <url>", "Backend base URL", defaultBaseUrl).option(
|
|
1810
|
+
var addCommonOptions = (command, defaultBaseUrl, formatHelpOptions = outputFormats) => command.option("--base-url <url>", "Backend base URL", defaultBaseUrl).option(
|
|
1811
1811
|
"--access-key <key>",
|
|
1812
1812
|
"Access key for automation",
|
|
1813
1813
|
process.env.CLOUDEVAL_ACCESS_KEY
|
|
@@ -1815,7 +1815,10 @@ var addCommonOptions = (command, defaultBaseUrl) => command.option("--base-url <
|
|
|
1815
1815
|
"--access-key-stdin",
|
|
1816
1816
|
"Read access key from stdin (recommended for automation)",
|
|
1817
1817
|
false
|
|
1818
|
-
).option("--project <id>", "Project ID to use").option(
|
|
1818
|
+
).option("--project <id>", "Project ID to use").option(
|
|
1819
|
+
"--format <format>",
|
|
1820
|
+
`Output format: ${formatHelpOptions.join(", ")}`
|
|
1821
|
+
).option("--raw", "Show raw provider/backend payload", false).option("--parsed", "Show normalized parsed report payload", false).option("--formatted", "Show formatted human report payload", false).option("--output <file>", "Output file").option("--open", "Open the matching frontend report page", false).option("--print-url", "Print the matching frontend URL", false).option("--no-open", "Do not launch the browser when a URL is printed").option("--frontend-url <url>", "Frontend base URL").option(
|
|
1819
1822
|
"--non-interactive",
|
|
1820
1823
|
"Disable prompts and browser login",
|
|
1821
1824
|
false
|
|
@@ -2088,7 +2091,8 @@ var registerReportsCommand = (program2, deps) => {
|
|
|
2088
2091
|
);
|
|
2089
2092
|
addCommonOptions(
|
|
2090
2093
|
reports.command("download").description("Download report JSON or markdown locally"),
|
|
2091
|
-
deps.defaultBaseUrl
|
|
2094
|
+
deps.defaultBaseUrl,
|
|
2095
|
+
[...outputFormats, "pdf"]
|
|
2092
2096
|
).option(
|
|
2093
2097
|
"--type <type>",
|
|
2094
2098
|
"Report type: cost, waf, architecture, unit-tests, all",
|
|
@@ -16865,7 +16869,7 @@ program.command("tui").description("Open the CloudEval Terminal UI").option("--b
|
|
|
16865
16869
|
const { assertSecureBaseUrl } = await import("./dist-6LEMVXIY.js");
|
|
16866
16870
|
const [{ render }, { App }] = await Promise.all([
|
|
16867
16871
|
import("ink"),
|
|
16868
|
-
import("./App-
|
|
16872
|
+
import("./App-IRVY4LSK.js")
|
|
16869
16873
|
]);
|
|
16870
16874
|
const baseUrl = await resolveBaseUrl(options, command);
|
|
16871
16875
|
assertSecureBaseUrl(baseUrl);
|
|
@@ -16926,7 +16930,7 @@ program.command("chat").description("Start an interactive chat session").option(
|
|
|
16926
16930
|
const { assertSecureBaseUrl } = await import("./dist-6LEMVXIY.js");
|
|
16927
16931
|
const [{ render }, { App }] = await Promise.all([
|
|
16928
16932
|
import("ink"),
|
|
16929
|
-
import("./App-
|
|
16933
|
+
import("./App-IRVY4LSK.js")
|
|
16930
16934
|
]);
|
|
16931
16935
|
const baseUrl = await resolveBaseUrl(options, command);
|
|
16932
16936
|
assertSecureBaseUrl(baseUrl);
|
|
@@ -17718,7 +17722,7 @@ Error: ${errorMsg}
|
|
|
17718
17722
|
program.command("banner").description("Preview the startup banner and terminal capabilities").action(async () => {
|
|
17719
17723
|
const { render } = await import("ink");
|
|
17720
17724
|
const BannerPreview = React.lazy(async () => ({
|
|
17721
|
-
default: (await import("./Banner-
|
|
17725
|
+
default: (await import("./Banner-4PWF5O3B.js")).Banner
|
|
17722
17726
|
}));
|
|
17723
17727
|
render(
|
|
17724
17728
|
/* @__PURE__ */ jsx(React.Suspense, { fallback: null, children: /* @__PURE__ */ jsx(BannerPreview, { disable: false }) })
|
package/package.json
CHANGED
package/sbom.spdx.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
{
|
|
15
15
|
"SPDXID": "SPDXRef-Package-CloudEval-CLI",
|
|
16
16
|
"name": "CloudEval CLI",
|
|
17
|
-
"versionInfo": "0.30.
|
|
17
|
+
"versionInfo": "0.30.1",
|
|
18
18
|
"downloadLocation": "https://github.com/ganakailabs/cloudeval-cli",
|
|
19
19
|
"filesAnalyzed": false,
|
|
20
20
|
"licenseConcluded": "LicenseRef-CloudEval-CLI",
|