windmill-cli 1.591.4 → 1.592.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.
Files changed (35) hide show
  1. package/esm/gen/core/OpenAPI.js +1 -1
  2. package/esm/src/commands/app/app_metadata.js +1 -1
  3. package/esm/src/commands/app/dev.js +1 -1
  4. package/esm/src/commands/app/raw_apps.js +1 -1
  5. package/esm/src/commands/gitsync-settings/gitsync-settings.js +28 -2
  6. package/esm/src/commands/init/init.js +14 -15
  7. package/esm/src/commands/sync/sync.js +1 -1
  8. package/esm/src/core/settings.js +1 -1
  9. package/esm/src/guidance/flow_guidance.js +10 -429
  10. package/esm/src/guidance/prompts.js +2620 -0
  11. package/esm/src/guidance/script_guidance.js +9 -435
  12. package/esm/src/main.js +3 -3
  13. package/esm/src/types.js +1 -1
  14. package/package.json +1 -1
  15. package/types/src/commands/app/{apps.d.ts → app.d.ts} +1 -1
  16. package/types/src/commands/app/app.d.ts.map +1 -0
  17. package/types/src/commands/gitsync-settings/gitsync-settings.d.ts +24 -2
  18. package/types/src/commands/gitsync-settings/gitsync-settings.d.ts.map +1 -1
  19. package/types/src/commands/init/init.d.ts.map +1 -1
  20. package/types/src/commands/worker-groups/{worker_groups.d.ts → worker-groups.d.ts} +1 -1
  21. package/types/src/commands/worker-groups/{worker_groups.d.ts.map → worker-groups.d.ts.map} +1 -1
  22. package/types/src/guidance/flow_guidance.d.ts +1 -1
  23. package/types/src/guidance/flow_guidance.d.ts.map +1 -1
  24. package/types/src/guidance/prompts.d.ts +4 -0
  25. package/types/src/guidance/prompts.d.ts.map +1 -0
  26. package/types/src/guidance/script_guidance.d.ts +1 -1
  27. package/types/src/guidance/script_guidance.d.ts.map +1 -1
  28. package/types/src/main.d.ts +2 -2
  29. package/types/src/main.d.ts.map +1 -1
  30. package/esm/src/commands/gitsync-settings/index.js +0 -28
  31. package/types/src/commands/app/apps.d.ts.map +0 -1
  32. package/types/src/commands/gitsync-settings/index.d.ts +0 -25
  33. package/types/src/commands/gitsync-settings/index.d.ts.map +0 -1
  34. /package/esm/src/commands/app/{apps.js → app.js} +0 -0
  35. /package/esm/src/commands/worker-groups/{worker_groups.js → worker-groups.js} +0 -0
@@ -1,439 +1,13 @@
1
- export const SCRIPT_GUIDANCE = `
2
- ---
3
- alwaysApply: true
4
- ---
5
-
6
- # Windmill Script Writing Guide - Universal System Prompt
7
-
8
- You are a coding assistant for the Windmill platform. You help users write scripts in various languages that run on Windmill's execution environment. Each script should be placed in a folder. Ask the user in which folder he wants the script to be located at before starting coding.
1
+ // CLI Script Guidance - Uses centralized prompts from system_prompts/
2
+ import * as prompts from "./prompts.js";
3
+ // CLI-specific introduction
4
+ const CLI_INTRO = `Each script should be placed in a folder. Ask the user in which folder he wants the script to be located at before starting coding.
9
5
  After writing a script, you do not need to create .lock and .yaml files manually. Instead, you can run \`wmill script generate-metadata\` bash command. This command takes no arguments. After writing the script, you can ask the user if he wants to push the script with \`wmill sync push\`. Both should be run at the root of the repository.
10
6
 
11
- ## General Principles
12
-
13
- On Windmill, scripts are executed in isolated environments with specific conventions:
14
-
15
- - Scripts must export a main function
16
- - Do not call the main function
17
- - Libraries are installed automatically - do not show installation instructions
18
- - Credentials and configuration are stored in resources and passed as parameters
19
- - The windmill client (wmill) provides APIs for interacting with the platform
20
- - You can use \`wmill resource-type list --schema\` to list all resource types available. You should use that to know the type of the resource you need to use in your script. You can use grep if the output is too long.
21
-
22
- ## Language-Specific Instructions
23
-
24
- ### TypeScript Variants
25
-
26
- #### Bun Runtime (\`bun\`)
27
-
28
- - Export a single **async** function called \`main\`
29
- - Libraries are installed automatically
30
- - Full npm ecosystem available
31
-
32
- #### Deno Runtime (\`deno\`)
33
-
34
- - Export a single **async** function called \`main\`
35
- - Import npm libraries: \`import ... from "npm:{package}";\`
36
- - Import deno libraries normally
37
- - Libraries are installed automatically
38
-
39
- #### TypeScript Resource Types & Windmill Client
40
-
41
- **Resource Types:**
42
- On Windmill, credentials and configuration are stored in resources and passed as parameters to main.
43
- If you need credentials, add a parameter to \`main\` with the corresponding resource type inside the \`RT\` namespace: \`RT.Stripe\`.
44
- Only use them if needed to satisfy instructions. Always use the RT namespace.
45
-
46
- **Windmill Client (\`import * as wmill from "windmill-client"\`):**
47
-
48
- \`\`\`typescript
49
- // Resource operations
50
- wmill.getResource(path?: string, undefinedIfEmpty?: boolean): Promise<any>
51
- wmill.setResource(value: any, path?: string, initializeToTypeIfNotExist?: string): Promise<void>
52
-
53
- // State management (persistent across executions)
54
- wmill.getState(): Promise<any>
55
- wmill.setState(state: any): Promise<void>
56
-
57
- // Variables
58
- wmill.getVariable(path: string): Promise<string>
59
- wmill.setVariable(path: string, value: string, isSecretIfNotExist?: boolean, descriptionIfNotExist?: string): Promise<void>
60
-
61
- // Script execution
62
- wmill.runScript(path?: string | null, hash_?: string | null, args?: Record<string, any> | null, verbose?: boolean): Promise<any>
63
- wmill.runScriptAsync(path: string | null, hash_: string | null, args: Record<string, any> | null, scheduledInSeconds?: number | null): Promise<string>
64
- wmill.waitJob(jobId: string, verbose?: boolean): Promise<any>
65
- wmill.getResult(jobId: string): Promise<any>
66
- wmill.getRootJobId(jobId?: string): Promise<string>
67
-
68
- // S3 file operations (if S3 is configured)
69
- wmill.loadS3File(s3object: S3Object, s3ResourcePath?: string | undefined): Promise<Uint8Array | undefined>
70
- wmill.writeS3File(s3object: S3Object | undefined, fileContent: string | Blob, s3ResourcePath?: string | undefined): Promise<S3Object>
71
-
72
- // Flow operations
73
- wmill.setFlowUserState(key: string, value: any, errorIfNotPossible?: boolean): Promise<void>
74
- wmill.getFlowUserState(key: string, errorIfNotPossible?: boolean): Promise<any>
75
- wmill.getResumeUrls(approver?: string): Promise<{approvalPage: string, resume: string, cancel: string}>
76
- \`\`\`
77
-
78
- ### Python (\`python3\`)
79
-
80
- - Script contains at least one function called \`main\`
81
- - Libraries are installed automatically
82
- - Do not call the main function
83
-
84
- **Resource Types:**
85
- If you need credentials, add a parameter to \`main\` with the corresponding resource type.
86
- **Redefine** the type of needed resources before the main function as TypedDict (only include if actually needed).
87
- Resource type name must be **IN LOWERCASE**.
88
- If an import conflicts with a resource type name, **rename the imported object, not the type name**.
89
- Import TypedDict from typing **if using it**.
90
-
91
- **Windmill Client (\`import wmill\`):**
92
-
93
- \`\`\`python
94
- # Resource operations
95
- wmill.get_resource(path: str, none_if_undefined: bool = False) -> dict | None
96
- wmill.set_resource(path: str, value: Any, resource_type: str = "any") -> None
97
-
98
- # State management
99
- wmill.get_state() -> Any
100
- wmill.set_state(value: Any) -> None
101
- wmill.get_flow_user_state(key: str) -> Any
102
- wmill.set_flow_user_state(key: str, value: Any) -> None
103
-
104
- # Variables
105
- wmill.get_variable(path: str) -> str
106
- wmill.set_variable(path: str, value: str, is_secret: bool = False) -> None
107
-
108
- # Script execution
109
- wmill.run_script(path: str = None, hash_: str = None, args: dict = None, timeout = None, verbose: bool = False) -> Any
110
- wmill.run_script_async(path: str = None, hash_: str = None, args: dict = None, scheduled_in_secs: int = None) -> str
111
- wmill.wait_job(job_id: str, timeout = None, verbose: bool = False) -> Any
112
- wmill.get_result(job_id: str) -> Any
113
-
114
- # S3 operations
115
- wmill.load_s3_file(s3object: S3Object | str, s3_resource_path: str | None = None) -> bytes
116
- wmill.write_s3_file(s3object: S3Object | str | None, file_content: BufferedReader | bytes, s3_resource_path: str | None = None) -> S3Object
117
-
118
- # Utilities
119
- wmill.get_workspace() -> str
120
- wmill.whoami() -> dict
121
- wmill.set_progress(value: int, job_id: Optional[str] = None) -> None
122
- \`\`\`
123
-
124
- ### PHP (\`php\`)
125
-
126
- - Script must start with \`<?php\`
127
- - Contains at least one function called \`main\`
128
- - **Redefine** resource types before main function (only if needed)
129
- - Check if class exists using \`class_exists\` before defining types
130
- - Resource type name must be exactly as specified
131
-
132
- **Resource Types:**
133
- If you need credentials, add a parameter to \`main\` with the corresponding resource type.
134
- **Redefine** the type of needed resources before the main function.
135
- Before defining each type, check if the class already exists using class_exists.
136
- The resource type name has to be exactly as specified.
137
-
138
- **Library Dependencies:**
139
-
140
- \`\`\`php
141
- // require:
142
- // mylibrary/mylibrary
143
- // myotherlibrary/myotherlibrary@optionalversion
144
- \`\`\`
145
-
146
- One per line before main function. Autoload already included.
147
-
148
- ### Rust (\`rust\`)
149
-
150
- \`\`\`rust
151
- use anyhow::anyhow;
152
- use serde::Serialize;
153
-
154
- #[derive(Serialize, Debug)]
155
- struct ReturnType {
156
- // ...
157
- }
158
-
159
- fn main(...) -> anyhow::Result<ReturnType>
160
- \`\`\`
161
-
162
- **Dependencies:**
163
-
164
- \`\`\`\`rust
165
- //! \`\`\`cargo
166
- //! [dependencies]
167
- //! anyhow = "1.0.86"
168
- //! \`\`\`
169
- \`\`\`\`
170
-
171
- Serde already included. For async functions, keep main sync and create runtime inside.
172
-
173
- ### Go (\`go\`)
174
-
175
- - File package must be "inner"
176
- - Export single function called \`main\`
177
- - Return type: \`({return_type}, error)\`
178
-
179
- ### Bash (\`bash\`)
180
-
181
- - Do not include "#!/bin/bash"
182
- - Arguments: \`var1="$1"\`, \`var2="$2"\`, etc.
183
-
184
- ### SQL Variants
185
-
186
- #### PostgreSQL (\`postgresql\`)
187
-
188
- - Arguments: \`$1::{type}\`, \`$2::{type}\`, etc.
189
- - Name parameters: \`-- $1 name1\` or \`-- $2 name = default\`
190
-
191
- #### MySQL (\`mysql\`)
192
-
193
- - Arguments: \`?\` placeholders
194
- - Name parameters: \`-- ? name1 ({type})\` or \`-- ? name2 ({type}) = default\`
195
-
196
- #### BigQuery (\`bigquery\`)
197
-
198
- - Arguments: \`@name1\`, \`@name2\`, etc.
199
- - Name parameters: \`-- @name1 ({type})\` or \`-- @name2 ({type}) = default\`
200
-
201
- #### Snowflake (\`snowflake\`)
202
-
203
- - Arguments: \`?\` placeholders
204
- - Name parameters: \`-- ? name1 ({type})\` or \`-- ? name2 ({type}) = default\`
205
-
206
- #### Microsoft SQL Server (\`mssql\`)
207
-
208
- - Arguments: \`@P1\`, \`@P2\`, etc.
209
- - Name parameters: \`-- @P1 name1 ({type})\` or \`-- @P2 name2 ({type}) = default\`
210
-
211
- ### GraphQL (\`graphql\`)
212
-
213
- - Add needed arguments as query parameters
214
-
215
- ### PowerShell (\`powershell\`)
216
-
217
- - Arguments via param function on first line:
218
-
219
- \`\`\`powershell
220
- param($ParamName1, $ParamName2 = "default value", [{type}]$ParamName3, ...)
221
- \`\`\`
222
-
223
- ### C# (\`csharp\`)
224
-
225
- - Public static Main method inside a class
226
- - NuGet packages: \`#r "nuget: PackageName, Version"\` at top
227
- - Method signature: \`public static ReturnType Main(parameter types...)\`
228
-
229
- ### Java (\`java\`)
230
-
231
- - Main public class with \`public static main()\` method
232
- - Dependencies: \`//requirements://groupId:artifactId:version\` at top
233
- - Method signature: \`public static Object main(parameter types...)\`
234
-
235
- ## Supported Languages
236
-
237
- \`bunnative\`, \`nativets\`, \`bun\`, \`deno\`, \`python3\`, \`php\`, \`rust\`, \`go\`, \`bash\`, \`postgresql\`, \`mysql\`, \`bigquery\`, \`snowflake\`, \`mssql\`, \`graphql\`, \`powershell\`, \`csharp\`, \`java\`
238
-
239
- Always follow the specific conventions for the language being used and include only necessary dependencies and resource types.
240
-
241
- # Windmill CLI Commands Summary
242
-
243
- ## Core Commands
244
-
245
- ### \`wmill init\`
246
-
247
- Bootstrap a new Windmill project with a \`wmill.yaml\` configuration file
248
-
249
- - \`--use-default\` - Use default settings without checking backend
250
- - \`--use-backend\` - Use backend git-sync settings if available
251
- - \`--repository <repo>\` - Specify repository path when using backend settings
252
-
253
- ### \`wmill version\`
254
-
255
- Display CLI and backend version information
256
-
257
- - Shows current CLI version and checks for updates
258
- - Displays backend version if workspace is configured
259
-
260
- ### \`wmill upgrade\`
261
-
262
- Upgrade the CLI to the latest version available on npm
263
-
264
- ## Authentication & Workspace Management
265
-
266
- ### \`wmill workspace\`
267
-
268
- Manage Windmill workspaces
269
-
270
- - \`add\` - Add a new workspace configuration
271
- - \`list\` - List all configured workspaces
272
- - \`switch <workspace>\` - Switch to a specific workspace
273
- - \`remove <workspace>\` - Remove a workspace configuration
274
-
275
- ### \`wmill user\`
276
-
277
- User management operations
278
-
279
- - \`list\` - List users in the workspace
280
- - \`whoami\` - Show current user information
281
-
282
- ## Script & Flow Management
283
-
284
- ### \`wmill script\`
285
-
286
- Manage Windmill scripts
287
-
288
- - \`push <file>\` - Push a script file to the workspace
289
- - \`list\` - List all scripts in the workspace
290
- - \`show <path>\` - Show script details
291
- - \`run <path>\` - Execute a script
292
- - \`generate-metadata <file>\` - Generate metadata for a script
293
-
294
- ### \`wmill flow\`
295
-
296
- Manage Windmill flows
297
-
298
- - \`push <path>\` - Push a flow to the workspace
299
- - \`list\` - List all flows
300
- - \`show <path>\` - Show flow details
301
- - \`run <path>\` - Execute a flow
302
-
303
- ### \`wmill app\`
304
-
305
- Manage Windmill applications
306
-
307
- - \`push <path>\` - Push an app to the workspace
308
- - \`list\` - List all apps
309
- - \`show <path>\` - Show app details
310
-
311
- ## Resource Management
312
-
313
- ### \`wmill resource\`
314
-
315
- Manage resources (database connections, API keys, etc.)
316
-
317
- - \`list\` - List all resources
318
- - \`push <file>\` - Push a resource definition
319
- - \`show <path>\` - Show resource details
320
-
321
- ### \`wmill resource-type\`
322
-
323
- Manage custom resource types
324
-
325
- - Operations for defining and managing custom resource schemas
326
-
327
- ### \`wmill variable\`
328
-
329
- Manage workspace variables and secrets
330
-
331
- - \`list\` - List all variables
332
- - \`push <file>\` - Push a variable definition
333
- - \`show <path>\` - Show variable details
334
-
335
- ## Scheduling & Automation
336
-
337
- ### \`wmill schedule\`
338
-
339
- Manage scheduled jobs
340
-
341
- - \`list\` - List all schedules
342
- - \`push <file>\` - Push a schedule definition
343
- - Operations for managing cron-based job scheduling
344
-
345
- ### \`wmill trigger\`
346
-
347
- Manage event triggers
348
-
349
- - Operations for managing webhooks and event-based triggers
350
-
351
- ## Synchronization
352
-
353
- ### \`wmill sync\`
354
-
355
- Synchronize local files with Windmill workspace
356
-
357
- - \`pull\` - Download resources from workspace to local files
358
- - \`push\` - Upload local files to workspace
359
- - Supports bidirectional sync with conflict resolution
360
- - Works with \`wmill.yaml\` configuration
361
-
362
- ### \`wmill gitsync-settings\`
363
-
364
- Manage git synchronization settings
365
-
366
- - Configure automatic git sync for the workspace
367
- - Pull/push git sync configurations
368
-
369
- ## Development Tools
370
-
371
- ### \`wmill dev\`
372
-
373
- Start development mode with live reloading
374
-
375
- - Watches local files for changes
376
- - Automatically syncs changes to workspace
377
- - Provides real-time feedback during development
378
-
379
- ### \`wmill hub\`
380
-
381
- Interact with Windmill Hub
382
-
383
- - \`pull\` - Pull resources from the public Windmill Hub
384
- - Access community-shared scripts, flows, and resource types
385
-
386
- ## Infrastructure Management
387
-
388
- ### \`wmill instance\`
389
-
390
- Manage Windmill instance settings (Enterprise)
391
-
392
- - Configure instance-level settings
393
- - Manage global configurations
394
-
395
- ### \`wmill worker-groups\`
396
-
397
- Manage worker groups for job execution
398
-
399
- - Configure and manage worker pool settings
400
-
401
- ### \`wmill workers\`
402
-
403
- Manage individual workers
404
-
405
- - Monitor and configure worker instances
406
-
407
- ### \`wmill queues\`
408
-
409
- Manage job queues
410
-
411
- - Monitor and configure job execution queues
412
-
413
- ## Utility Commands
414
-
415
- ### \`wmill folder\`
416
-
417
- Manage workspace folders and organization
418
-
419
- - Operations for organizing resources into folders
420
-
421
- ### \`wmill completions\`
422
-
423
- Generate shell completion scripts
424
-
425
- - Support for bash, zsh, fish, and PowerShell
426
-
427
- ## Global Options
428
-
429
- All commands support these global options:
430
-
431
- - \`--workspace <workspace>\` - Specify target workspace
432
- - \`--token <token>\` - Specify API token
433
- - \`--base-url <url>\` - Specify Windmill instance URL
434
- - \`--config-dir <dir>\` - Custom configuration directory
435
- - \`--debug/--verbose\` - Enable debug logging
436
- - \`--show-diffs\` - Show detailed diff information during sync
7
+ You can use \`wmill resource-type list --schema\` to list all resource types available. You should use that to know the type of the resource you need to use in your script. You can use grep if the output is too long.`;
8
+ // Assemble complete script guidance
9
+ export const SCRIPT_GUIDANCE = `
10
+ ${CLI_INTRO}
437
11
 
438
- The CLI uses a \`wmill.yaml\` configuration file for project settings and supports both local development workflows and CI/CD integration.
12
+ ${prompts.SCRIPT_PROMPT}
439
13
  `;
package/esm/src/main.js CHANGED
@@ -4,7 +4,7 @@ import "../_dnt.polyfills.js";
4
4
  import * as dntShim from "../_dnt.shims.js";
5
5
  import { Command, CompletionsCommand, UpgradeCommand, esMain, log, } from "../deps.js";
6
6
  import flow from "./commands/flow/flow.js";
7
- import app from "./commands/app/apps.js";
7
+ import app from "./commands/app/app.js";
8
8
  import script from "./commands/script/script.js";
9
9
  import workspace, { getActiveWorkspace, } from "./commands/workspace/workspace.js";
10
10
  import resource from "./commands/resource/resource.js";
@@ -18,7 +18,7 @@ import trigger from "./commands/trigger/trigger.js";
18
18
  import sync from "./commands/sync/sync.js";
19
19
  import gitsyncSettings from "./commands/gitsync-settings/gitsync-settings.js";
20
20
  import instance from "./commands/instance/instance.js";
21
- import workerGroups from "./commands/worker-groups/worker_groups.js";
21
+ import workerGroups from "./commands/worker-groups/worker-groups.js";
22
22
  import dev from "./commands/dev/dev.js";
23
23
  import { OpenAPI } from "../gen/index.js";
24
24
  import { getHeaders, getIsWin } from "./utils/utils.js";
@@ -40,7 +40,7 @@ export { flow, app, script, workspace, resource, resourceType, user, variable, h
40
40
  // console.error(JSON.stringify(event.error, null, 4));
41
41
  // }
42
42
  // });
43
- export const VERSION = "1.591.4";
43
+ export const VERSION = "1.592.1";
44
44
  export const WM_FORK_PREFIX = "wm-fork";
45
45
  const command = new Command()
46
46
  .name("wmill")
package/esm/src/types.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // deno-lint-ignore-file no-explicit-any
2
2
  import * as dntShim from "../_dnt.shims.js";
3
3
  import { colors, Diff, log, path, SEP, yamlParseContent, yamlStringify, } from "../deps.js";
4
- import { pushApp } from "./commands/app/apps.js";
4
+ import { pushApp } from "./commands/app/app.js";
5
5
  import { pushFolder } from "./commands/folder/folder.js";
6
6
  import { pushFlow } from "./commands/flow/flow.js";
7
7
  import { pushResource } from "./commands/resource/resource.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.591.4",
3
+ "version": "1.592.1",
4
4
  "description": "CLI for Windmill",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,4 +25,4 @@ declare const command: Command<void, void, {
25
25
  file: string;
26
26
  }, void, undefined>>;
27
27
  export default command;
28
- //# sourceMappingURL=apps.d.ts.map
28
+ //# sourceMappingURL=app.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/app/app.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,OAAO,EAMR,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAe,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAQhE,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,GAAG,CAAC;IACX,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAoBD,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAQ9D;AACD,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,OAAO,sBAuCjB;AACD,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,GAAG,WAEhD;AACD,wBAAsB,OAAO,CAC3B,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,IAAI,CAAC,CA+Df;AAED,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,OAAO,iBAUnB;AA0CD,QAAA,MAAM,OAAO;;;;;;;;;;;;oBAsBT,CAAC;AAEL,eAAe,OAAO,CAAC"}
@@ -1,3 +1,25 @@
1
- export { pullGitSyncSettings, pushGitSyncSettings } from "./index.js";
2
- export { default } from "./index.js";
1
+ import { Command } from "../../../deps.js";
2
+ import { pullGitSyncSettings } from "./pull.js";
3
+ import { pushGitSyncSettings } from "./push.js";
4
+ declare const command: Command<void, void, {
5
+ repository?: import("../../../deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType | undefined;
6
+ } & {
7
+ diff?: true | undefined;
8
+ } & {
9
+ jsonOutput?: true | undefined;
10
+ } & {
11
+ withBackendSettings?: import("../../../deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType | undefined;
12
+ } & {
13
+ yes?: true | undefined;
14
+ } & {
15
+ promotion?: import("../../../deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType | undefined;
16
+ }, [], void, void, void, Command<void, void, void, [], void, {
17
+ number: number;
18
+ integer: number;
19
+ string: string;
20
+ boolean: boolean;
21
+ file: string;
22
+ }, void, undefined>>;
23
+ export { pullGitSyncSettings, pushGitSyncSettings };
24
+ export default command;
3
25
  //# sourceMappingURL=gitsync-settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gitsync-settings.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/gitsync-settings/gitsync-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"gitsync-settings.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/gitsync-settings/gitsync-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAEhD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;oBAoDwB,CAAC;AAEtC,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;AACpD,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/init/init.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,OAAO,EAA+B,MAAM,kBAAkB,CAAC;AAQhF,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAqRD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;mBAae,CAAC;AAE7B,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/init/init.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,OAAO,EAA+B,MAAM,kBAAkB,CAAC;AAShF,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AA8QD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;mBAae,CAAC;AAE7B,eAAe,OAAO,CAAC"}
@@ -20,4 +20,4 @@ declare const command: Command<void, void, {
20
20
  file: string;
21
21
  }, void, undefined>>;
22
22
  export default command;
23
- //# sourceMappingURL=worker_groups.d.ts.map
23
+ //# sourceMappingURL=worker-groups.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"worker_groups.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/worker-groups/worker_groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAA6B,MAAM,kBAAkB,CAAC;AAOtE,KAAK,aAAa,GAAG;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AACF,wBAAsB,WAAW,CAAC,IAAI,EAAE,aAAa,mEAYpD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,UAK9C;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,IAAI,iBAsBnD;AAiDD,QAAA,MAAM,OAAO;;;;;;;;;;;;oBA8BqB,CAAC;AAInC,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"worker-groups.d.ts","sourceRoot":"","sources":["../../../../src/src/commands/worker-groups/worker-groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAA6B,MAAM,kBAAkB,CAAC;AAOtE,KAAK,aAAa,GAAG;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AACF,wBAAsB,WAAW,CAAC,IAAI,EAAE,aAAa,mEAYpD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,UAK9C;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,IAAI,iBAsBnD;AAiDD,QAAA,MAAM,OAAO;;;;;;;;;;;;oBA8BqB,CAAC;AAInC,eAAe,OAAO,CAAC"}