Skip to content

Fix and improve asset and collection export commands#548

Merged
ryanmitchell merged 6 commits intostatamic:5.xfrom
sjongejan:5.x
Feb 23, 2026
Merged

Fix and improve asset and collection export commands#548
ryanmitchell merged 6 commits intostatamic:5.xfrom
sjongejan:5.x

Conversation

@sjongejan
Copy link
Contributor

@sjongejan sjongejan commented Feb 20, 2026

Fixed several issues and improved flexibility for data import and export commands.

Import

  • Added source_preset to the asset container export

Export

  • Added support for --only-asset-containers and --only-assets flags in the assets export command
  • Added support for --only-collections and --only-collection-trees flags in the collection export command
  • Added support for --only-navs and --only-nav-trees flags in the collection export command
  • Fixed bug in assets export
  • Enabled independent exporting of collection trees. This allows collections to be maintained in static files while their trees are stored in the database (Eloquent).

@ryanmitchell
Copy link
Contributor

Thanks for the PR and the work on it, all looks great.

@ryanmitchell ryanmitchell merged commit c38d041 into statamic:5.x Feb 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants