Generate metadata
The wmill generate-metadata command generates metadata (locks, schemas) for all scripts, flows and apps. It replaces the previous separate commands (wmill script generate-metadata, wmill flow generate-locks, wmill app generate-locks).
Usage
wmill generate-metadata [folder] [options]
Options
| Option | Description |
|---|---|
--yes | Skip confirmation prompt |
--dry-run | Show what would be updated without making changes |
--lock-only | Regenerate only lock files |
--schema-only | Regenerate only script schemas (skips flows and apps) |
--skip-scripts | Skip processing scripts |
--skip-flows | Skip processing flows |
--skip-apps | Skip processing apps |
--strict-folder-boundaries | Only update items inside the specified folder (requires folder argument) |
-i, --includes <patterns> | Comma-separated patterns to specify which files to include |
-e, --excludes <patterns> | Comma-separated patterns to specify which files to exclude |
The rehash subcommand (see Rehash below) rewrites lockfile hashes from on-disk content without any backend round-trip.
Arguments
| Argument | Description |
|---|---|
folder | Optional folder path to filter metadata generation |
Examples
Generate metadata for entire workspace
wmill generate-metadata
Preview changes without applying
wmill generate-metadata --dry-run
Auto-confirm all updates
wmill generate-metadata --yes
Generate only for a specific folder
wmill generate-metadata f/my_folder