windmill-cli 1.674.2 → 1.675.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.
- package/esm/main.js +20 -2
- package/package.json +1 -1
package/esm/main.js
CHANGED
|
@@ -11812,7 +11812,7 @@ var init_OpenAPI = __esm(() => {
|
|
|
11812
11812
|
PASSWORD: undefined,
|
|
11813
11813
|
TOKEN: getEnv2("WM_TOKEN"),
|
|
11814
11814
|
USERNAME: undefined,
|
|
11815
|
-
VERSION: "1.
|
|
11815
|
+
VERSION: "1.675.0",
|
|
11816
11816
|
WITH_CREDENTIALS: true,
|
|
11817
11817
|
interceptors: {
|
|
11818
11818
|
request: new Interceptors,
|
|
@@ -12191,6 +12191,7 @@ __export(exports_services_gen, {
|
|
|
12191
12191
|
runScriptByHashInline: () => runScriptByHashInline,
|
|
12192
12192
|
runScriptByHash: () => runScriptByHash,
|
|
12193
12193
|
runRawScriptDependencies: () => runRawScriptDependencies,
|
|
12194
|
+
runLogCleanup: () => runLogCleanup,
|
|
12194
12195
|
runFlowPreviewAndWaitResult: () => runFlowPreviewAndWaitResult,
|
|
12195
12196
|
runFlowPreview: () => runFlowPreview,
|
|
12196
12197
|
runFlowByVersion: () => runFlowByVersion,
|
|
@@ -12444,6 +12445,7 @@ __export(exports_services_gen, {
|
|
|
12444
12445
|
getPostgresPublication: () => getPostgresPublication,
|
|
12445
12446
|
getOpenApiYaml: () => getOpenApiYaml,
|
|
12446
12447
|
getOidcToken: () => getOidcToken,
|
|
12448
|
+
getObjectStorageUsage: () => getObjectStorageUsage,
|
|
12447
12449
|
getOauthConnect: () => getOauthConnect,
|
|
12448
12450
|
getNpmPackageMetadata: () => getNpmPackageMetadata,
|
|
12449
12451
|
getNpmPackageFiletree: () => getNpmPackageFiletree,
|
|
@@ -12456,6 +12458,7 @@ __export(exports_services_gen, {
|
|
|
12456
12458
|
getMcpTools: () => getMcpTools,
|
|
12457
12459
|
getLogFileFromStore: () => getLogFileFromStore,
|
|
12458
12460
|
getLogFile: () => getLogFile,
|
|
12461
|
+
getLogCleanupStatus: () => getLogCleanupStatus,
|
|
12459
12462
|
getLocal: () => getLocal,
|
|
12460
12463
|
getLicenseId: () => getLicenseId,
|
|
12461
12464
|
getLatestWorkspaceDependencies: () => getLatestWorkspaceDependencies,
|
|
@@ -13169,6 +13172,21 @@ var backendVersion = () => {
|
|
|
13169
13172
|
body: data2.requestBody,
|
|
13170
13173
|
mediaType: "application/json"
|
|
13171
13174
|
});
|
|
13175
|
+
}, getObjectStorageUsage = () => {
|
|
13176
|
+
return request(OpenAPI, {
|
|
13177
|
+
method: "GET",
|
|
13178
|
+
url: "/settings/object_storage_usage"
|
|
13179
|
+
});
|
|
13180
|
+
}, runLogCleanup = () => {
|
|
13181
|
+
return request(OpenAPI, {
|
|
13182
|
+
method: "POST",
|
|
13183
|
+
url: "/settings/run_log_cleanup"
|
|
13184
|
+
});
|
|
13185
|
+
}, getLogCleanupStatus = () => {
|
|
13186
|
+
return request(OpenAPI, {
|
|
13187
|
+
method: "GET",
|
|
13188
|
+
url: "/settings/log_cleanup_status"
|
|
13189
|
+
});
|
|
13172
13190
|
}, sendStats = () => {
|
|
13173
13191
|
return request(OpenAPI, {
|
|
13174
13192
|
method: "POST",
|
|
@@ -82806,7 +82824,7 @@ var config_default = command35;
|
|
|
82806
82824
|
|
|
82807
82825
|
// src/main.ts
|
|
82808
82826
|
await init_context();
|
|
82809
|
-
var VERSION = "1.
|
|
82827
|
+
var VERSION = "1.675.0";
|
|
82810
82828
|
var command36 = new Command().name("wmill").action(() => info(`Welcome to Windmill CLI ${VERSION}. Use -h for help.`)).description("Windmill CLI").globalOption("--workspace <workspace:string>", "Specify the target workspace. This overrides the default workspace.").globalOption("--debug --verbose", "Show debug/verbose logs").globalOption("--show-diffs", "Show diff informations when syncing (may show sensitive informations)").globalOption("--token <token:string>", "Specify an API token. This will override any stored token.").globalOption("--base-url <baseUrl:string>", "Specify the base URL of the API. If used, --token and --workspace are required and no local remote/workspace already set will be used.").globalOption("--config-dir <configDir:string>", "Specify a custom config directory. Overrides WMILL_CONFIG_DIR environment variable and default ~/.config location.").env("HEADERS <headers:string>", `Specify headers to use for all requests. e.g: "HEADERS='h1: v1, h2: v2'"`).version(VERSION).versionOption(false).command("init", init_default).command("app", app_default).command("flow", flow_default).command("script", script_default).command("workspace", workspace_default).command("resource", resource_default).command("resource-type", resource_type_default).command("user", user_default).command("variable", variable_default).command("hub", hub_default).command("folder", folder_default).command("schedule", schedule_default).command("trigger", trigger_default).command("dev", dev_default2).command("sync", sync_default).command("lint", lint_default).command("gitsync-settings", gitsync_settings_default).command("instance", instance_default).command("worker-groups", worker_groups_default).command("workers", workers_default).command("queues", queues_default).command("dependencies", dependencies_default).command("jobs", jobs_default).command("job", job_default).command("group", group_default).command("audit", audit_default).command("token", token_default).command("generate-metadata", generate_metadata_default).command("docs", docs_default).command("config", config_default).command("version --version", "Show version information").action(async (opts) => {
|
|
82811
82829
|
console.log("CLI version: " + VERSION);
|
|
82812
82830
|
try {
|