Manage generated media assets. Run garbage collection to remove orphaned images and other media files that are no longer referenced by any draft.
Remove orphaned files from media cache.
Example: social-hook media gc --dry-run Example: social-hook media gc --yes (skip confirmation)
Options:
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run |
boolean | false | Show what would be removed |
--yes, -y |
boolean | false | Skip confirmation prompt |