Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)18k · #10628

cli-commands

Skill này làm gì

Skill này giải thích công cụ dòng lệnh wmill cho Windmill, gồm các tùy chọn và lệnh liệt kê, đẩy lên và kiểm tra tài nguyên. Nó dành cho nhà phát triển làm việc với Windmill từ terminal.

Khi nào nên dùng

  • ✓Khi bạn cần đẩy, liệt kê hoặc kiểm tra script, flow hoặc app từ terminal.
  • ✓Khi bạn muốn gỡ lỗi một job lỗi hoặc xem lịch sử chạy bằng các lệnh job.
  • ✓Khi bạn cần chọn workspace hoặc API token cho một lệnh wmill.

Liên kết skill

https://github.com/windmill-labs/windmill/blob/main/system_prompts/auto-generated/skills/cli-commands/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/windmill-labs/windmill/blob/main/system_prompts/auto-generated/skills/cli-commands/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chỉ tôi cách đẩy app Windmill cục bộ của tôi lên workspace từ dòng lệnh.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill liệt kê các lệnh wmill và tùy chọn của chúng, để agent của bạn chọn đúng lệnh và chạy giúp bạn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Windmill CLI Commands

The Windmill CLI (wmill) provides commands for managing scripts, flows, apps, and other resources.

Global Options

  • --workspace <workspace:string> - Specify the target workspace. This overrides the default workspace.
  • --debug --verbose - Show debug/verbose logs
  • --show-diffs - Show diff informations when syncing (may show sensitive informations)
  • --token <token:string> - Specify an API token. This will override any stored token.
  • --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.
  • --config-dir <configDir:string> - Specify a custom config directory. Overrides WMILL_CONFIG_DIR environment variable and default ~/.config location.

Commands

app

app related commands

Options:

  • --json - Output as JSON (for piping to jq)

Subcommands:

  • app list - list all apps
    • --json - Output as JSON (for piping to jq)
  • app get <path:string> - get an app's details
    • --json - Output as JSON (for piping to jq)
  • app push [file_path:string] [remote_path:string] - push a local app. With no args, infers the app from the current directory and the remote path from its location relative to wmill.yaml.
  • app dev [app_folder:string] - Start a development server for building apps with live reload and hot module replacement
    • --port <port:number> - Port to run the dev server on (will find next available port if occupied)
    • --host <host:string> - Host to bind the dev server to
    • --entry <entry:string> - Entry point file (default: index.ts for Svelte, index.tsx otherwise)
    • --no-open - Don't automatically open the browser
    • --recording - Frame the app in a shell with a Record button, to capture a replayable session recording of the app under development
  • app lint [app_folder:string] - Lint a raw app folder to validate structure and buildability
    • --fix - Attempt to fix common issues (not implemented yet)
  • app bundle [app_folder:string] - Bundle a raw app folder to js/css without deploying it
    • --out <dir:string> - Directory to write bundle.js and bundle.css into (default: <app_folder>/dist)
    • --no-minify - Skip minification
  • app new - create a new raw app from a template
    • --summary <summary:string> - App summary (short description). Skips the prompt when provided. Triggers non-interactive mode.
    • --path <path:string> - App path (e.g., f/folder/my_app or u/username/my_app). Skips the prompt when provided. Triggers non-interactive mode.
    • --framework <framework:string> - Framework template: react19 | react18 | svelte5. Skips the prompt when provided. Triggers non-interactive mode.
    • --datatable <datatable:string> - Datatable to wire up. Without this flag in non-interactive mode, no datatable is configured.
    • --schema <schema:string> - Schema to use with --datatable. If it doesn't exist yet, a sql_to_apply/ migration (CREATE SCHEMA IF NOT EXISTS) is written for it.
    • --overwrite - Overwrite the target directory if it already exists, without prompting.
    • --no-open-in-desktop - Do not prompt to open the new app in Claude Desktop.
  • app generate-agents [app_folder:string] - regenerate AGENTS.md and DATATABLES.md from remote workspace
  • app set-permissioned-as <path:string> <email:string> - Set the on_behalf_of_email for an app (requires admin or wm_deployers group)

audit

View audit logs (requires admin)

Subcommands:

  • audit list - List audit log entries
  • audit get <id:string> - Get a specific audit log entry
    • --json - Output as JSON (for piping to jq)

config

Show all available wmill.yaml configuration options

Options:

  • --json - Output as JSON for programmatic consumption

Subcommands:

  • config migrate - Migrate wmill.yaml from gitBranches/environments to workspaces format

datatable

datatable related commands

Subcommands:

  • datatable list - list all datatables in the workspace
    • --json - Output as JSON (for piping to jq)
  • datatable run <sql:string> - run a SQL query on a datatable
    • -n --name <name:string> - Datatable name (default: main)
    • -s --silent - Output only the final result as JSON. Useful for scripting.
  • datatable migrate - manage datatable migrations
    • datatable migrate new <name:string> - scaffold a new migration (.up.sql / .down.sql files)
      • -d --datatable <datatable:string> - Target datatabl
Câu hỏi thường gặp

Tôi có cần biết dòng lệnh để dùng không?

Không nhiều. Agent của bạn chọn đúng lệnh và giải thích nó làm gì.

Nó có giúp được với job lỗi không?

Có. Skill bao gồm các lệnh job hiển thị lịch sử chạy để gỡ lỗi.

Tôi có thể dùng workspace khác không?

Có. Tùy chọn workspace ghi đè workspace mặc định cho một lệnh.

Chi tiết

Mô tả gốc của tác giả

MUST use when using the CLI, including debugging job failures and inspecting run history via `wmill job`.

repo: windmill-labs/windmill

Độ phổ biến

Sao GitHub
18k
Vị trí xếp hạng
#10628
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự