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>]
FlagDescription
--typeOptional. 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