config:migrate
Migrate config files to the current schema.
Syntax#
vigil config:migrate [args]
Options#
| Flag | Description |
|---|
--json | Emit the versioned JSON envelope. |
--write | Write the migrated configuration. |
--stream | Stream phase status as text or JSONL. |
--verbose | Stream additional phase details. |
Examples#
vigil config:migrate
vigil config:migrate --json
Example Use Cases#
- Use this command when you need to migrate config files to the current schema.
- Preview or review the operation before allowing repository changes.
Technical Contract#
| Binding | builtin:config:migrate |
|---|
| Stability | stable |
|---|
| Timeout | 2m0s |
|---|
| Required tools | None |
|---|
| Capabilities | filesystem:read, filesystem:write |
|---|
| Output formats | text, json |
|---|