Skip to content

Get files

get files - Get repository files with their module ownership

Get repository files with their module ownership in structured format.

This command analyzes the repository and maps each file to its owning module based on module contracts. The output can be formatted as YAML, JSON, or TOML for programmatic processing.

Use filters to scope the output to specific files or modules: --changed-only: Only modified/unstaged files --staged-only: Only staged files --module: Files owned by a specific module --pattern: Files matching a glob pattern

Flags

Flag Description
--as-yaml Output as YAML (default format)
--as-json Output as JSON
--as-toml Output as TOML
--changed-only Only show modified/unstaged files
--staged-only Only show staged files
--module Filter to files owned by specific module moniker
--pattern Filter files matching glob pattern

Notes

Expected Output:

Examples

get files --as-json
get files --module eac-core
get files --changed-only --as-yaml

List of files with owning module information. Format depends on --as-* flag:
- YAML (default): Structured list with file name and modules array
- JSON: Same structure as YAML in JSON format
- TOML: Same structure as YAML in TOML format
Each entry contains the file name and list of owning module monikers.

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.