Quick Start
Pack a directory of YAML/JSON files into a single document:
# Pack current directory to stdout
fyaml
# Pack specific directory
fyaml config/
# Write to a file
fyaml -o output.yml
Example
Given this directory structure:
entities/item1.yml:
entities/item2.yml:
Running fyaml config/ produces:
entities:
item1:
entity:
id: example1
name: First Item
item2:
entity:
id: example2
name: Second Item
Next Steps
- Basic Usage - Learn more about packing directories and output options
- Output Format - Output YAML or JSON, customize indentation
- Output Modes - Choose between canonical (sorted) or preserve (authored order)
- Directory Structure - Understand how files map to YAML structure
- Common Patterns - Verify output, combine with other tools
- Troubleshooting - Common issues and solutions