mergeway-cli files
List included YAML data files together with the entity type each file belongs to.
Synopsis: List included YAML data files together with their entity types.
Usage
mergeway-cli [global flags] files [--type <type>]
| Flag | Description |
|---|---|
--type | Optional. Restrict output to one entity type. |
The command only lists YAML-backed files matched by entity include globs. Inline records and JSON files are excluded.
Example
List every included YAML data file:
mergeway-cli files
Output:
- type: Post
file: data/posts/posts.yaml
- type: Tag
file: data/tags/tag-product.yaml
Request JSON output for automation:
mergeway-cli --format json files --type Tag
Related Commands
mergeway-cli list— list object identifiers for one type.mergeway-cli validate— confirm the listed files still contain valid records.