mergeway-cli files
List included YAML data files, or grouped storage containers, together with the entity type.
Synopsis: List included YAML data files, or grouped storage containers, together with their entity types.
Usage
mergeway-cli [global flags] files [--type <type>] [--group]
| Flag | Description |
|---|---|
--type | Optional. Restrict output to one entity type. |
--group | Optional. Collapse one-object-per-file directories to their wildcard path. |
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
Show storage containers instead of every concrete file:
mergeway-cli files --group
Example output:
- type: Post
file: data/posts/posts.yaml
- type: User
file: data/users/*.yaml
Related Commands
mergeway-cli list— list object identifiers for one type.mergeway-cli validate— confirm the listed files still contain valid records.